From 25dc9a61ffc5dceed088b2dadbe234db3e87aaee Mon Sep 17 00:00:00 2001 From: qndel Date: Mon, 18 Jul 2022 11:12:03 +0200 Subject: [PATCH] fix wrong condition in OnSetStrength --- Source/msg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/msg.cpp b/Source/msg.cpp index b1440f631..d24de5bf1 100644 --- a/Source/msg.cpp +++ b/Source/msg.cpp @@ -1957,7 +1957,7 @@ size_t OnSetStrength(const TCmd *pCmd, int pnum) { const auto &message = *reinterpret_cast(pCmd); - if (gbBufferMsgs == 1) { + if (gbBufferMsgs != 1) { Player &player = Players[pnum]; if (message.wParam1 <= 750 && &player != MyPlayer) SetPlrStr(player, message.wParam1);