Delete critter from combat during _partyFixMultipleMembers

This commit is contained in:
Vasilii Rogin 2023-04-29 21:57:51 +03:00
parent fcf8a87603
commit 9c521bf9e7
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,7 @@
#include "animation.h"
#include "color.h"
#include "combat.h"
#include "combat_ai.h"
#include "combat_ai_defs.h"
#include "config.h"
@ -1268,6 +1269,9 @@ static int _partyFixMultipleMembers()
}
}
_combat_delete_critter(obj);
_combatai_delete_critter(obj);
objectDestroy(obj, NULL);
}