# HG changeset patch
# User unc0rr
# Date 1214600198 0
# Node ID 3c843ce630eaf53e2984943c454ff6c66d2cac05
# Parent  63f956a6fe7fd4be735d53899d3bc5eaa17ba9b8
 - Fix accidental network breakage
 - Fix warning

diff -r 63f956a6fe7f -r 3c843ce630ea hedgewars/uChat.pas
--- a/hedgewars/uChat.pas	Fri Jun 27 20:11:20 2008 +0000
+++ b/hedgewars/uChat.pas	Fri Jun 27 20:56:38 2008 +0000
@@ -119,7 +119,6 @@
 
 procedure AcceptChatString(s: shortstring);
 var i: TWave;
-	b: boolean;
 begin
 if s[1] = '/' then
 	begin
diff -r 63f956a6fe7f -r 3c843ce630ea hedgewars/uIO.pas
--- a/hedgewars/uIO.pas	Fri Jun 27 20:11:20 2008 +0000
+++ b/hedgewars/uIO.pas	Fri Jun 27 20:56:38 2008 +0000
@@ -219,6 +219,7 @@
 while (headcmd <> nil) and ((GameTicks = headcmd^.Time) or (headcmd^.cmd = 's')) do
 	begin
 	case headcmd^.cmd of
+		'+': ; // do nothing - it's just empty packet
 		'L': ParseCommand('+left', true);
 		'l': ParseCommand('-left', true);
 		'R': ParseCommand('+right', true);