Oops webgl
authorunc0rr
Wed, 08 Jan 2014 13:04:50 +0400
branchwebgl
changeset 9974 fb84e878111d
parent 9972 feb4b031b52e
child 9976 a9c8f3f11c71
Oops
hedgewars/uIO.pas
--- a/hedgewars/uIO.pas	Wed Jan 08 01:16:20 2014 +0400
+++ b/hedgewars/uIO.pas	Wed Jan 08 13:04:50 2014 +0400
@@ -372,7 +372,7 @@
              end;
         'p': begin
             x32:= SDLNet_Read32(@(headcmd^.str[2]));
-            y32:= SDLNet_Read32(@(headcmd^.str[4]));
+            y32:= SDLNet_Read32(@(headcmd^.str[6]));
             doPut(x32, y32, false)
              end;
         'P': begin
@@ -382,7 +382,7 @@
             if CurrentTeam^.ExtDriven then
                begin
                TargetCursorPoint.X:= LongInt(SDLNet_Read32(@(headcmd^.str[2]))) + WorldDx;
-               TargetCursorPoint.Y:= cScreenHeight - LongInt(SDLNet_Read32(@(headcmd^.str[4]))) - WorldDy;
+               TargetCursorPoint.Y:= cScreenHeight - LongInt(SDLNet_Read32(@(headcmd^.str[6]))) - WorldDy;
                if not bShowAmmoMenu and autoCameraOn then
                     CursorPoint:= TargetCursorPoint
                end