mirror of
https://github.com/ENSL/NS.git
synced 2024-11-22 04:31:12 +00:00
Fix crash in debug mode when spectating aliens. Credit to Neoptolemus.
This commit is contained in:
parent
9f324e47b0
commit
5fc8493b9a
1 changed files with 1 additions and 1 deletions
|
@ -9510,7 +9510,7 @@ void AvHPlayer::UpdateAlienUI()
|
|||
currentMask |= 0x80;
|
||||
|
||||
int teamMask=0;
|
||||
AvHEntityHierarchy& theEntHier=GetGameRules()->GetEntityHierarchy(this->GetTeam());
|
||||
AvHEntityHierarchy& theEntHier=GetGameRules()->GetEntityHierarchy(this->GetTeam(true));
|
||||
teamMask |= ( theEntHier.GetNumSensory() & 0x3 );
|
||||
teamMask <<= 2;
|
||||
teamMask |= ( theEntHier.GetNumDefense() & 0x3 );
|
||||
|
|
Loading…
Reference in a new issue