mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- marked a few more CCMDs unsafe.
This commit is contained in:
parent
4cf5977b56
commit
2720e36a2c
5 changed files with 7 additions and 7 deletions
|
@ -558,7 +558,7 @@ void C_UnbindAll ()
|
|||
AutomapBindings.UnbindAll();
|
||||
}
|
||||
|
||||
CCMD (unbindall)
|
||||
UNSAFE_CCMD (unbindall)
|
||||
{
|
||||
C_UnbindAll ();
|
||||
}
|
||||
|
|
|
@ -674,7 +674,7 @@ UNSAFE_CCMD (error_fatal)
|
|||
//==========================================================================
|
||||
|
||||
#if !defined(_WIN32) || !defined(_DEBUG)
|
||||
CCMD (crashout)
|
||||
UNSAFE_CCMD (crashout)
|
||||
{
|
||||
*(volatile int *)0 = 0;
|
||||
}
|
||||
|
|
|
@ -2618,7 +2618,7 @@ CCMD (playdemo)
|
|||
}
|
||||
}
|
||||
|
||||
CCMD (timedemo)
|
||||
UNSAFE_CCMD (timedemo)
|
||||
{
|
||||
if (argv.argc() > 1)
|
||||
{
|
||||
|
|
|
@ -224,7 +224,7 @@ CCMD (map)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
CCMD(recordmap)
|
||||
UNSAFE_CCMD(recordmap)
|
||||
{
|
||||
if (netgame)
|
||||
{
|
||||
|
|
|
@ -708,7 +708,7 @@ ADD_STAT(music)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
CCMD (writeopl)
|
||||
UNSAFE_CCMD (writeopl)
|
||||
{
|
||||
if (argv.argc() == 2)
|
||||
{
|
||||
|
@ -746,7 +746,7 @@ CCMD (writeopl)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
CCMD (writewave)
|
||||
UNSAFE_CCMD (writewave)
|
||||
{
|
||||
if (argv.argc() >= 2 && argv.argc() <= 3)
|
||||
{
|
||||
|
@ -784,7 +784,7 @@ CCMD (writewave)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
CCMD (writemidi)
|
||||
UNSAFE_CCMD (writemidi)
|
||||
{
|
||||
if (argv.argc() != 2)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue