changeset 6580 | 6155187bf599 |
parent 6247 | 6dfad55fd71c |
child 6601 | 5965e2927b3d |
--- a/hedgewars/uMobile.pas Mon Jan 16 10:22:21 2012 +0100 +++ b/hedgewars/uMobile.pas Tue Jan 17 09:01:31 2012 -0500 @@ -82,9 +82,7 @@ procedure AmmoUpdate; // do not inline begin {$IFDEF IPHONEOS} - if (CurrentTeam = nil) or - (CurrentTeam^.ExtDriven) or - (CurrentTeam^.Hedgehogs[0].BotLevel <> 0) then + if (CurrentTeam = nil) or (CurrentTeam^.ExtDriven) or (CurrentTeam^.Hedgehogs[0].BotLevel <> 0) then exit(); // the other way around throws a compiler error updateVisualsNewTurn(); {$ENDIF}