hedgewars/uIO.pas
changeset 6876 f588dfc27da3
parent 6874 b9e2e509a42d
child 6898 344b0dbd9690
--- 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)