Browse Source

Fix flash infinite casting: Add check for _pInvincible to RepeatMouseAction

pull/4069/head
obligaron 4 years ago committed by Anders Jenbo
parent
commit
05dd2f9f90
  1. 2
      Source/track.cpp

2
Source/track.cpp

@ -50,6 +50,8 @@ void RepeatMouseAction()
auto &myPlayer = Players[MyPlayerId];
if (myPlayer.destAction != ACTION_NONE)
return;
if (myPlayer._pInvincible)
return;
if (!myPlayer.CanChangeAction())
return;

Loading…
Cancel
Save