From 6ce32f8d6abb5c69b78059c8e95ffb60bff7fc38 Mon Sep 17 00:00:00 2001 From: qndel Date: Wed, 18 Aug 2021 21:21:35 +0200 Subject: [PATCH] fix incorrect golem removal --- Source/msg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/msg.cpp b/Source/msg.cpp index b67a56da1..f4fa0f35a 100644 --- a/Source/msg.cpp +++ b/Source/msg.cpp @@ -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);