hedgewars/uIO.pas
changeset 1035 6f5842bc481b
parent 978 4d4f290d05c5
child 1038 3c843ce630ea
--- a/hedgewars/uIO.pas	Fri Jun 27 17:22:15 2008 +0000
+++ b/hedgewars/uIO.pas	Fri Jun 27 17:45:35 2008 +0000
@@ -252,8 +252,11 @@
 			CursorPoint.Y:= SmallInt(SDLNet_Read16(@(headcmd^.Y)) + WorldDy);
 			end;
 		'w': ParseCommand('setweap ' + headcmd^.str[2], true);
+		't': ParseCommand('taunt ' + headcmd^.str[2], true);
 		'1'..'5': ParseCommand('timer ' + headcmd^.cmd, true);
 		#128..char(128 + cMaxSlotIndex): ParseCommand('slot ' + char(byte(headcmd^.cmd) - 79), true)
+		else
+			OutError('Unexpected protocol command: ' + headcmd^.cmd, True)
 		end;
 	RemoveCmd
 	end;