equal
deleted
inserted
replaced
80 end; |
80 end; |
81 |
81 |
82 procedure AmmoUpdate; // do not inline |
82 procedure AmmoUpdate; // do not inline |
83 begin |
83 begin |
84 {$IFDEF IPHONEOS} |
84 {$IFDEF IPHONEOS} |
85 if (CurrentTeam = nil) or |
85 if (CurrentTeam = nil) or (CurrentTeam^.ExtDriven) or (CurrentTeam^.Hedgehogs[0].BotLevel <> 0) then |
86 (CurrentTeam^.ExtDriven) or |
|
87 (CurrentTeam^.Hedgehogs[0].BotLevel <> 0) then |
|
88 exit(); // the other way around throws a compiler error |
86 exit(); // the other way around throws a compiler error |
89 updateVisualsNewTurn(); |
87 updateVisualsNewTurn(); |
90 {$ENDIF} |
88 {$ENDIF} |
91 end; |
89 end; |
92 |
90 |