changeset 7790 | 040fc517fece |
parent 7789 | 838d2e06c377 |
child 8017 | 70d386de989f |
child 8026 | 4a4f21070479 |
--- a/hedgewars/uAI.pas Mon Oct 22 21:24:38 2012 +0400 +++ b/hedgewars/uAI.pas Mon Oct 22 23:35:12 2012 +0400 @@ -151,7 +151,7 @@ else if (ap.Angle < 0) then AddAction(BestActions, aia_LookLeft, 0, 200, 0, 0); - if (ap.Time <> 0) then + if (Ammoz[a].Ammo.Propz and ammoprop_Timerable) <> 0 then AddAction(BestActions, aia_Timer, ap.Time div 1000, 400, 0, 0); if (Ammoz[a].Ammo.Propz and ammoprop_NoCrosshair) = 0 then