Fixed a typo in dg_variables

This commit is contained in:
Vatiken 2012-08-12 15:11:50 +00:00
parent 67129480a4
commit 3a11261102
2 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,8 @@ TbaMUD is currently being developed by The Builder Academy. If you need any
help, find any bugs, or have ideas for improvement please stop by TBA at
telnet://tbamud.com:9091 or email rumble@tbamud.com --Rumble
@
[Aug 12 2012] - Vatiken
bug: fixed typo in dg_variables.c (Thanks Zusuk)
[Aug 08 2012] - Vatiken
bug: fixed another copyover issue that resulted in dying character respawning at corpse.
bug: fixed an issue where a PC could be remembered after dying. (Thanks Zusuk)

View file

@ -978,7 +978,7 @@ void find_replacement(void *go, struct script_data *sc, trig_data *trig,
if (!str_cmp(field, "saving_breath")) {
if (subfield && *subfield) {
int addition = atoi(subfield);
GET_SAVE(c, SAVING_SPELL) += addition;
GET_SAVE(c, SAVING_BREATH) += addition;
}
snprintf(str, slen, "%d", GET_SAVE(c, SAVING_BREATH));
}