Fixed unaffect and 2 memory leaks --Rumble

This commit is contained in:
Rumble 2010-06-20 04:43:32 +00:00
parent b55af08002
commit 4b44a1a097
8 changed files with 36 additions and 8 deletions

View file

@ -2341,7 +2341,7 @@ ACMD(do_wizutil)
while (vict->affected)
affect_remove(vict, vict->affected);
for(taeller=0; taeller < AF_ARRAY_MAX; taeller++)
AFF_FLAGS(ch)[taeller] = 0;
AFF_FLAGS(vict)[taeller] = 0;
send_to_char(vict, "There is a brief flash of light!\r\nYou feel slightly different.\r\n");
send_to_char(ch, "All spells removed.\r\n");
} else {