Marked a few more CCMDs as unsafe

This commit is contained in:
alexey.lysiuk 2018-01-29 13:30:36 +02:00
parent 64921ea968
commit c7eea9b480
3 changed files with 3 additions and 3 deletions

View File

@ -681,7 +681,7 @@ UNSAFE_CCMD (crashout)
#endif
CCMD (dir)
UNSAFE_CCMD (dir)
{
FString dir, path;
char curdir[256];

View File

@ -2599,7 +2599,7 @@ void G_DeferedPlayDemo (const char *name)
gameaction = (gameaction == ga_loadgame) ? ga_loadgameplaydemo : ga_playdemo;
}
CCMD (playdemo)
UNSAFE_CCMD (playdemo)
{
if (netgame)
{

View File

@ -673,7 +673,7 @@ void M_ScreenShot (const char *filename)
}
}
CCMD (screenshot)
UNSAFE_CCMD (screenshot)
{
if (argv.argc() == 1)
G_ScreenShot (NULL);