changeset 2434 | 5faa05d99241 |
parent 2432 | 1a0bb82d55f0 |
child 2453 | fdb76012b688 |
--- a/hedgewars/uAmmos.pas Mon Oct 12 19:33:21 2009 +0000 +++ b/hedgewars/uAmmos.pas Mon Oct 12 19:39:47 2009 +0000 @@ -75,6 +75,7 @@ if a <> amNothing then begin Ammoz[a].Probability:= probability[byte(s[ord(a) + ord(High(TAmmoType))]) - byte('0')]; + if (TrainingFlags and tfIgnoreDelays) <> 0 then Ammoz[a].SkipTurns:= 0; cnt:= byte(s[ord(a)]) - byte('0'); // avoid things we already have infinite number if cnt = 9 then