Added ChangeTeam function for teamplay

Also removes the TeamLibrary global since all it did was call what should've been static functions.
This commit is contained in:
Boondorl 2024-05-23 12:16:34 -04:00 committed by Ricardo Luís Vaz Silva
commit 53270f0bc8
7 changed files with 49 additions and 22 deletions

View file

@ -3359,7 +3359,7 @@ static int D_InitGame(const FIWADInfo* iwad_info, std::vector<std::string>& allw
// [CW] Parse any TEAMINFO lumps.
if (!batchrun) Printf ("ParseTeamInfo: Load team definitions.\n");
TeamLibrary.ParseTeamInfo ();
FTeam::ParseTeamInfo ();
R_ParseTrnslate();
PClassActor::StaticInit ();