set vector to negative *after* applying upward vector
authornemo
Mon, 22 Jun 2009 00:17:09 +0000
changeset 2187 66c0f9b3bd6f
parent 2186 5ec3e4a03d51
child 2188 6cdf9109cc58
set vector to negative *after* applying upward vector
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Mon Jun 22 00:14:24 2009 +0000
+++ b/hedgewars/GSHandlers.inc	Mon Jun 22 00:17:09 2009 +0000
@@ -2201,7 +2201,6 @@
     move:= _0_02;
     fuel:= 5;
     end;*)
-if (HHGear^.Message and gm_Left) <> 0 then move.isNegative:= true;
 
 if (HHGear^.Message and gm_Up) <> 0 then
     begin
@@ -2210,6 +2209,7 @@
     Gear^.MsgParam:= Gear^.MsgParam or gm_Up;
     Gear^.Timer:= GameTicks
     end;
+if (HHGear^.Message and gm_Left) <> 0 then move.isNegative:= true;
 if (HHGear^.Message and (gm_Left or gm_Right)) <> 0 then
     begin
     HHGear^.dX:= HHGear^.dX + (move * _0_2);