fix incorrect golem removal

This commit is contained in:
qndel 2021-08-18 21:21:35 +02:00 committed by Anders Jenbo
commit 6ce32f8d6a

View file

@ -1279,7 +1279,7 @@ DWORD OnKillGolem(TCmd *pCmd, int pnum)
else if (pnum != MyPlayerId) {
if (currlevel == p->wParam1)
M_SyncStartKill(pnum, { p->x, p->y }, pnum);
delta_kill_monster(pnum, { p->x, p->y }, Players[pnum].plrlevel);
delta_kill_monster(pnum, { p->x, p->y }, p->wParam1);
}
return sizeof(*p);