equal
deleted
inserted
replaced
286 // switch to 'skip' if we cannot move because of mouse cursor being shown |
286 // switch to 'skip' if we cannot move because of mouse cursor being shown |
287 if (Ammoz[Me^.Hedgehog^.CurAmmoType].Ammo.Propz and ammoprop_NeedTarget) <> 0 then |
287 if (Ammoz[Me^.Hedgehog^.CurAmmoType].Ammo.Propz and ammoprop_NeedTarget) <> 0 then |
288 AddAction(Actions, aia_Weapon, Longword(amSkip), 100 + random(200), 0, 0); |
288 AddAction(Actions, aia_Weapon, Longword(amSkip), 100 + random(200), 0, 0); |
289 |
289 |
290 if ((CurrentHedgehog^.MultiShootAttacks = 0) or ((Ammoz[Me^.Hedgehog^.CurAmmoType].Ammo.Propz and ammoprop_NoMoveAfter) = 0)) |
290 if ((CurrentHedgehog^.MultiShootAttacks = 0) or ((Ammoz[Me^.Hedgehog^.CurAmmoType].Ammo.Propz and ammoprop_NoMoveAfter) = 0)) |
291 and (GameFlags and gfArtillery = 0) and (cGravityf <> 0) then |
291 and (CurrentHedgehog^.Effects[heArtillery] = 0) and (cGravityf <> 0) then |
292 begin |
292 begin |
293 tmp:= random(2) + 1; |
293 tmp:= random(2) + 1; |
294 Push(0, Actions, Me^, tmp); |
294 Push(0, Actions, Me^, tmp); |
295 Push(0, Actions, Me^, tmp xor 3); |
295 Push(0, Actions, Me^, tmp xor 3); |
296 |
296 |