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 #endif
CCMD (dir) UNSAFE_CCMD (dir)
{ {
FString dir, path; FString dir, path;
char curdir[256]; char curdir[256];

View file

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

View file

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