From 7bcea607bca8a1a007a9be547ed1a67711e81f51 Mon Sep 17 00:00:00 2001 From: qndel Date: Wed, 18 Aug 2021 21:27:20 +0200 Subject: [PATCH] golem bugfix --- Source/msg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/msg.cpp b/Source/msg.cpp index d73e2909e..461d134e3 100644 --- a/Source/msg.cpp +++ b/Source/msg.cpp @@ -2056,7 +2056,7 @@ static DWORD On_KILLGOLEM(TCmd *pCmd, int pnum) else if (pnum != myplr) { if (currlevel == p->wParam1) M_SyncStartKill(pnum, p->x, p->y, pnum); - delta_kill_monster(pnum, p->x, p->y, plr[pnum].plrlevel); + delta_kill_monster(pnum, p->x, p->y, plr[pnum].plrlevel); // BUGFIX: should be p->wParam1, plrlevel will be incorrect if golem is killed because player changed levels } return sizeof(*p);