Don't sync position on dead monsters
This commit is contained in:
parent
3bc2eb8471
commit
eea5a94ab3
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue