From eea5a94ab35eccb85518cb43bf9e21ddc712544d Mon Sep 17 00:00:00 2001 From: staphen Date: Tue, 18 Jan 2022 23:30:10 -0500 Subject: [PATCH] Don't sync position on dead monsters --- Source/sync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/sync.cpp b/Source/sync.cpp index b4d992639..93ba4f8ab 100644 --- a/Source/sync.cpp +++ b/Source/sync.cpp @@ -152,7 +152,7 @@ void SyncMonster(int pnum, const TSyncMonster &monsterSync) { const int monsterId = monsterSync._mndx; Monster &monster = Monsters[monsterId]; - if (monster._mhitpoints <= 0) { + if (monster._mhitpoints <= 0 || monster._mmode == MonsterMode::Death) { return; }