hedgewars/uIO.pas
changeset 10142 adb804cb2638
parent 10108 c68cf030eded
child 10306 4fca8bcfaff0
equal deleted inserted replaced
10141:3be894730bd6 10142:adb804cb2638
   221 function isSyncedCommand(c: char): boolean;
   221 function isSyncedCommand(c: char): boolean;
   222 begin
   222 begin
   223     case c of
   223     case c of
   224         '+', '#', 'L', 'l', 'R', 'r', 'U', 'u', 'D', 'd', 'Z', 'z', 'A', 'a', 'S', 'j', 'J', ',', 'c', 'N', 'p', 'P', 'w', 't', '1', '2', '3', '4', '5': isSyncedCommand:= true;
   224         '+', '#', 'L', 'l', 'R', 'r', 'U', 'u', 'D', 'd', 'Z', 'z', 'A', 'a', 'S', 'j', 'J', ',', 'c', 'N', 'p', 'P', 'w', 't', '1', '2', '3', '4', '5': isSyncedCommand:= true;
   225     else
   225     else
   226         isSyncedCommand:= ((c >= #128) and (c <= char(128 + cMaxSlotIndex)))
   226         isSyncedCommand:= ((byte(c) >= 128) and (byte(c) <= 128 + cMaxSlotIndex))
   227     end
   227     end
   228 end;
   228 end;
   229 
   229 
   230 procedure flushBuffer();
   230 procedure flushBuffer();
   231 begin
   231 begin