Marked a few commands as unsafe

This process of finding unsafe commands is not complete!
This commit is contained in:
alexey.lysiuk 2018-01-07 15:03:49 +02:00
commit f25a5ea2bc
5 changed files with 10 additions and 10 deletions

View file

@ -2821,7 +2821,7 @@ void D_DoomMain (void)
//
//==========================================================================
CCMD(restart)
UNSAFE_CCMD(restart)
{
// remove command line args that would get in the way during restart
Args->RemoveArgs("-iwad");
@ -2917,4 +2917,4 @@ CUSTOM_CVAR(Bool, I_FriendlyWindowTitle, true, CVAR_GLOBALCONFIG|CVAR_ARCHIVE|CV
I_SetWindowTitle(DoomStartupInfo.Name.GetChars());
else
I_SetWindowTitle(NULL);
}
}