Browse Source

Don't sync position on dead monsters

pull/3969/head
staphen 4 years ago committed by Anders Jenbo
parent
commit
eea5a94ab3
  1. 2
      Source/sync.cpp

2
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;
}

Loading…
Cancel
Save