mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-28 11:56:10 +01:00
Fixed unaffect and 2 memory leaks --Rumble
This commit is contained in:
parent
b55af08002
commit
4b44a1a097
8 changed files with 36 additions and 8 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue