hedgewars/uIO.pas
changeset 2403 6c5d504af2ba
parent 2396 e13a1117152b
child 2407 9f413bd5150e
--- a/hedgewars/uIO.pas	Fri Oct 02 18:56:54 2009 +0000
+++ b/hedgewars/uIO.pas	Sat Oct 03 09:35:14 2009 +0000
@@ -294,6 +294,11 @@
 			AddChatString(s);
 			WriteLnToConsole(s)
 			end;
+		'b': begin
+			s:= copy(headcmd^.str, 2, Pred(headcmd^.len));
+			AddChatString(#4 + s);
+			WriteLnToConsole(s)
+			end;
 		'F': TeamGone(copy(headcmd^.str, 2, Pred(headcmd^.len)));
 		'N': begin
 			tmpflag:= false;
@@ -312,12 +317,6 @@
 		't': ParseCommand('taunt ' + headcmd^.str[2], true);
 		'g': ParseCommand('newgrave', true);
 		'h': ParseCommand('hogsay ' + copy(headcmd^.str, 2, Pred(headcmd^.len)), true);
-		'b': if LocalClan = byte(headcmd^.str[2]) then
-               begin
-               s:= copy(headcmd^.str, 3, Pred(headcmd^.len));
-               AddChatString(#4 + s);
-               WriteLnToConsole(s)
-               end;
 		'1'..'5': ParseCommand('timer ' + headcmd^.cmd, true);
 		#128..char(128 + cMaxSlotIndex): ParseCommand('slot ' + char(byte(headcmd^.cmd) - 79), true)
 		else