- fixed: The menu should not override the user's player class if there is no player class menu.

SVN r2798 (trunk)
This commit is contained in:
Christoph Oelckers 2010-09-16 16:20:39 +00:00
commit 4da5ce74ca
3 changed files with 10 additions and 6 deletions

View file

@ -233,7 +233,7 @@ void G_DeferedInitNew (const char *mapname, int newskill)
void G_DeferedInitNew (FGameStartup *gs)
{
playerclass = gs->PlayerClass;
if (gs->PlayerClass != NULL) playerclass = gs->PlayerClass;
d_mapname = AllEpisodes[gs->Episode].mEpisodeMap;
d_skill = gs->Skill;
CheckWarpTransMap (d_mapname, true);