Unbreak build (change was only tested with pas2c parser, and was okay to it)
authorunc0rr
Tue, 10 Apr 2012 00:00:25 +0400
changeset 6876 f588dfc27da3
parent 6875 6528171ce36d
child 6877 b899393c8450
Unbreak build (change was only tested with pas2c parser, and was okay to it)
hedgewars/uIO.pas
--- a/hedgewars/uIO.pas	Mon Apr 09 23:55:12 2012 +0400
+++ b/hedgewars/uIO.pas	Tue Apr 10 00:00:25 2012 +0400
@@ -348,7 +348,7 @@
         'h': ParseCommand('hogsay ' + copy(headcmd^.str, 2, Pred(headcmd^.len)), true);
         '1'..'5': ParseCommand('timer ' + headcmd^.cmd, true);
         else
-            if headcmd^.cmd >= #128 and headcmd^.cmd <= char(128 + cMaxSlotIndex) then
+            if (headcmd^.cmd >= #128) and (headcmd^.cmd <= char(128 + cMaxSlotIndex)) then
                 ParseCommand('slot ' + char(byte(headcmd^.cmd) - 79), true)
                 else
                 OutError('Unexpected protocol command: ' + headcmd^.cmd, True)