hedgewars/uIO.pas
changeset 37 2b7f2a43b999
parent 22 517be8dc5b76
child 48 0f396d0c429d
--- a/hedgewars/uIO.pas	Sat Dec 31 13:46:49 2005 +0000
+++ b/hedgewars/uIO.pas	Thu Jan 05 15:54:22 2006 +0000
@@ -171,19 +171,19 @@
 while (cmdcurpos <= cmdendpos)and(GameTicks = extcmd[cmdcurpos].Time) do
    begin
    case extcmd[cmdcurpos].cmd of
-        'L': ParseCommand('/+left');
-        'l': ParseCommand('/-left');
-        'R': ParseCommand('/+right');
-        'r': ParseCommand('/-right');
-        'U': ParseCommand('/+up');
-        'u': ParseCommand('/-up');
-        'D': ParseCommand('/+down');
-        'd': ParseCommand('/-down');
-        'A': ParseCommand('/+attack');
-        'a': ParseCommand('/-attack');
-        'S': ParseCommand('/switch');
-        'j': ParseCommand('/ljump');
-        'J': ParseCommand('/hjump');
+        'L': ParseCommand('+left');
+        'l': ParseCommand('-left');
+        'R': ParseCommand('+right');
+        'r': ParseCommand('-right');
+        'U': ParseCommand('+up');
+        'u': ParseCommand('-up');
+        'D': ParseCommand('+down');
+        'd': ParseCommand('-down');
+        'A': ParseCommand('+attack');
+        'a': ParseCommand('-attack');
+        'S': ParseCommand('switch');
+        'j': ParseCommand('ljump');
+        'J': ParseCommand('hjump');
         'N': begin
              tmpflag:= false;
              {$IFDEF DEBUGFILE}AddFileLog('got cmd "N": time '+inttostr(extcmd[cmdcurpos].Time)){$ENDIF}
@@ -191,14 +191,14 @@
         'p': begin
              TargetPoint.X:= extcmd[cmdcurpos].X;
              TargetPoint.Y:= extcmd[cmdcurpos].Y;
-             ParseCommand('/put')
+             ParseCommand('put')
              end;
         'P': begin
              CursorPoint.X:= extcmd[cmdcurpos].X + WorldDx;
              CursorPoint.Y:= extcmd[cmdcurpos].Y + WorldDy;
              end;
-        '1'..'5': ParseCommand('/timer ' + extcmd[cmdcurpos].cmd);
-        #128..#134: ParseCommand('/slot ' + char(byte(extcmd[cmdcurpos].cmd) - 79))
+        '1'..'5': ParseCommand('timer ' + extcmd[cmdcurpos].cmd);
+        #128..#134: ParseCommand('slot ' + char(byte(extcmd[cmdcurpos].cmd) - 79))
         end;
    inc(cmdcurpos)
    end;