hedgewars/uAI.pas
changeset 3894 9abce5468583
parent 3836 833c0f32e326
child 4197 dad127904958
--- a/hedgewars/uAI.pas	Wed Sep 22 21:47:28 2010 +0200
+++ b/hedgewars/uAI.pas	Wed Sep 22 21:53:29 2010 +0200
@@ -212,7 +212,7 @@
     Pop(ticks, Actions, Me^);
 
     AddAction(Actions, Me^.Message, aim_push, 250, 0, 0);
-    if (Me^.Message and gm_Left) <> 0 then AddAction(Actions, aia_WaitXL, hwRound(Me^.X), 0, 0, 0)
+    if (Me^.Message and gmLeft) <> 0 then AddAction(Actions, aia_WaitXL, hwRound(Me^.X), 0, 0, 0)
                                       else AddAction(Actions, aia_WaitXR, hwRound(Me^.X), 0, 0, 0);
     steps:= 0;