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