Review the list of synced messages in isSyncedCommand. Fixes issue 546.
authorunc0rr
Sat, 02 Mar 2013 00:16:37 +0400
changeset 8620 6787f745da50
parent 8618 7e71dba4e7f3
child 8621 f9677715a582
Review the list of synced messages in isSyncedCommand. Fixes issue #546.
hedgewars/uIO.pas
--- a/hedgewars/uIO.pas	Fri Mar 01 10:38:49 2013 -0500
+++ b/hedgewars/uIO.pas	Sat Mar 02 00:16:37 2013 +0400
@@ -221,7 +221,7 @@
 
 function isSyncedCommand(c: char): boolean;
 begin
-    isSyncedCommand:= (c in ['+', '#', 'L', 'l', 'R', 'r', 'U', 'u', 'D', 'd', 'Z', 'z', 'A', 'a', 'S', 'j', 'J', ',', 'c', 's', 'b', 'F', 'N', 'p', 'P', 'w', 't', 'h', '1', '2', '3', '4', '5']) or ((c >= #128) and (c <= char(128 + cMaxSlotIndex)))
+    isSyncedCommand:= (c in ['+', '#', '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']) or ((c >= #128) and (c <= char(128 + cMaxSlotIndex)))
 end;
 
 procedure flushBuffer();