equal
deleted
inserted
replaced
75 end; |
75 end; |
76 |
76 |
77 procedure perfExt_AmmoUpdate; // don't inline |
77 procedure perfExt_AmmoUpdate; // don't inline |
78 begin |
78 begin |
79 {$IFDEF IPHONEOS} |
79 {$IFDEF IPHONEOS} |
80 if (CurrentTeam^.ExtDriven) or (CurrentTeam^.Hedgehogs[0].BotLevel <> 0) then |
80 if (CurrentTeam = nil) or |
|
81 (CurrentTeam^.ExtDriven) or |
|
82 (CurrentTeam^.Hedgehogs[0].BotLevel <> 0) then |
81 exit(); // the other way around throws a compiler error |
83 exit(); // the other way around throws a compiler error |
82 updateVisualsNewTurn(); |
84 updateVisualsNewTurn(); |
83 {$ENDIF} |
85 {$ENDIF} |
84 end; |
86 end; |
85 |
87 |