cleaning up the code. part 0.1

This commit is contained in:
jeefo 2016-08-27 23:37:27 +03:00
commit 0c8a246c48
7 changed files with 109 additions and 74 deletions

View file

@ -2183,7 +2183,7 @@ void StartFrame (void)
if (g_waypointOn)
waypoints.Think ();
CheckWelcomeMessage ();
SA (WelcomeMessage).VerifyMessageSent ();
}
bots.SetDeathMsgState (false);
@ -2317,6 +2317,9 @@ void pfnChangeLevel (char *s1, char *s2)
waypoints.SaveExperienceTab ();
waypoints.SaveVisibilityTab ();
// reset welcome message strate
SA (WelcomeMessage).SetGameCommenceFlag (false);
if (g_gameFlags & GAME_METAMOD)
RETURN_META (MRES_IGNORED);