mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-22 19:01:12 +00:00
Added missing player retranslation
Play-scoped team changing function.
This commit is contained in:
parent
53270f0bc8
commit
ab20b75c14
2 changed files with 2 additions and 1 deletions
|
@ -262,6 +262,7 @@ bool FTeam::ChangeTeam(unsigned int pNum, unsigned int newTeam)
|
|||
return false;
|
||||
|
||||
players[pNum].userinfo.TeamChanged(newTeam);
|
||||
R_BuildPlayerTranslation(pNum);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -2989,7 +2989,7 @@ struct Team native
|
|||
native String mName;
|
||||
|
||||
native static bool IsValid(uint teamIndex);
|
||||
native static bool ChangeTeam(uint playerNumber, uint newTeamIndex);
|
||||
native play static bool ChangeTeam(uint playerNumber, uint newTeamIndex);
|
||||
|
||||
native Color GetPlayerColor() const;
|
||||
native int GetTextColor() const;
|
||||
|
|
Loading…
Reference in a new issue