fix problem with pas2c build. please don't use "and not xyz", use "and (not xyz)"
authorsheepluva
Sun, 27 Nov 2016 13:08:12 +0100
changeset 12100 e1bca1ebbad9
parent 12099 4dfc95eabee1
child 12101 a79ab342bc84
fix problem with pas2c build. please don't use "and not xyz", use "and (not xyz)"
hedgewars/uStats.pas
--- a/hedgewars/uStats.pas	Sun Nov 27 12:58:41 2016 +0100
+++ b/hedgewars/uStats.pas	Sun Nov 27 13:08:12 2016 +0100
@@ -141,7 +141,7 @@
         AddVoice(sndMissed, PreviousTeam^.voicepack)
     else if (AmmoUsedCount > 0) and (not isTurnSkipped) then
         begin end// nothing ?
-    else if isTurnSkipped and not PlacingHogs then
+    else if isTurnSkipped and (not PlacingHogs) then
         begin
         AddVoice(sndCoward, PreviousTeam^.voicepack);
         AddCaption(FormatA(GetEventString(eidTurnSkipped), s), cWhiteColor, capgrpMessage);