Browse Source

fix wrong condition in OnSetStrength

pull/5047/head
qndel 4 years ago committed by Anders Jenbo
parent
commit
25dc9a61ff
  1. 2
      Source/msg.cpp

2
Source/msg.cpp

@ -1957,7 +1957,7 @@ size_t OnSetStrength(const TCmd *pCmd, int pnum)
{
const auto &message = *reinterpret_cast<const TCmdParam1 *>(pCmd);
if (gbBufferMsgs == 1) {
if (gbBufferMsgs != 1) {
Player &player = Players[pnum];
if (message.wParam1 <= 750 && &player != MyPlayer)
SetPlrStr(player, message.wParam1);

Loading…
Cancel
Save