equal
deleted
inserted
replaced
254 // switch to 'skip' if we cannot move because of mouse cursor being shown |
254 // switch to 'skip' if we cannot move because of mouse cursor being shown |
255 if (Ammoz[Me^.Hedgehog^.CurAmmoType].Ammo.Propz and ammoprop_NeedTarget) <> 0 then |
255 if (Ammoz[Me^.Hedgehog^.CurAmmoType].Ammo.Propz and ammoprop_NeedTarget) <> 0 then |
256 AddAction(Actions, aia_Weapon, Longword(amSkip), 100 + random(200), 0, 0); |
256 AddAction(Actions, aia_Weapon, Longword(amSkip), 100 + random(200), 0, 0); |
257 |
257 |
258 if ((CurrentHedgehog^.MultiShootAttacks = 0) or ((Ammoz[Me^.Hedgehog^.CurAmmoType].Ammo.Propz and ammoprop_NoMoveAfter) = 0)) |
258 if ((CurrentHedgehog^.MultiShootAttacks = 0) or ((Ammoz[Me^.Hedgehog^.CurAmmoType].Ammo.Propz and ammoprop_NoMoveAfter) = 0)) |
259 and (GameFlags and gfArtillery = 0) then |
259 and (GameFlags and gfArtillery = 0) and (cGravityf <> 0) then |
260 begin |
260 begin |
261 tmp:= random(2) + 1; |
261 tmp:= random(2) + 1; |
262 Push(0, Actions, Me^, tmp); |
262 Push(0, Actions, Me^, tmp); |
263 Push(0, Actions, Me^, tmp xor 3); |
263 Push(0, Actions, Me^, tmp xor 3); |
264 |
264 |