mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 23:33:00 +00:00
Marked a few more CCMDs as unsafe
This commit is contained in:
parent
64921ea968
commit
c7eea9b480
3 changed files with 3 additions and 3 deletions
|
@ -681,7 +681,7 @@ UNSAFE_CCMD (crashout)
|
|||
#endif
|
||||
|
||||
|
||||
CCMD (dir)
|
||||
UNSAFE_CCMD (dir)
|
||||
{
|
||||
FString dir, path;
|
||||
char curdir[256];
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -673,7 +673,7 @@ void M_ScreenShot (const char *filename)
|
|||
}
|
||||
}
|
||||
|
||||
CCMD (screenshot)
|
||||
UNSAFE_CCMD (screenshot)
|
||||
{
|
||||
if (argv.argc() == 1)
|
||||
G_ScreenShot (NULL);
|
||||
|
|
Loading…
Reference in a new issue