hedgewars/uIO.pas
changeset 784 b203147d91b5
parent 656 6d6d9d7b1054
child 883 07a568ba44e0
--- a/hedgewars/uIO.pas	Tue Feb 05 17:53:38 2008 +0000
+++ b/hedgewars/uIO.pas	Tue Feb 05 18:25:46 2008 +0000
@@ -258,6 +258,7 @@
              CursorPoint.X:= SmallInt(SDLNet_Read16(@(headcmd^.X)) + WorldDx);
              CursorPoint.Y:= SmallInt(SDLNet_Read16(@(headcmd^.Y)) + WorldDy);
              end;
+        'w': ParseCommand('setweap ' + headcmd^.str[2], true);
         '1'..'5': ParseCommand('timer ' + headcmd^.cmd, true);
         #128..char(128 + cMaxSlotIndex): ParseCommand('slot ' + char(byte(headcmd^.cmd) - 79), true)
         end;