equal
deleted
inserted
replaced
181 until (CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog].Gear <> nil) or (PrevTeam = CurrTeam) or ((CurrTeam = TagTeamIndex) and ((GameFlags and gfTagTeam) <> 0)); |
181 until (CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog].Gear <> nil) or (PrevTeam = CurrTeam) or ((CurrTeam = TagTeamIndex) and ((GameFlags and gfTagTeam) <> 0)); |
182 end |
182 end |
183 until (CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog].Gear <> nil); |
183 until (CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog].Gear <> nil); |
184 |
184 |
185 CurrentHedgehog:= @(CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog]); |
185 CurrentHedgehog:= @(CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog]); |
|
186 |
|
187 AmmoMenuInvalidated:= true; |
186 end; |
188 end; |
187 |
189 |
188 procedure AfterSwitchHedgehog; |
190 procedure AfterSwitchHedgehog; |
189 var i, t: LongInt; |
191 var i, t: LongInt; |
190 CurWeapon: PAmmo; |
192 CurWeapon: PAmmo; |