diff --git a/src/c_bind.cpp b/src/c_bind.cpp index 5098b9a95..62d497f80 100644 --- a/src/c_bind.cpp +++ b/src/c_bind.cpp @@ -558,7 +558,7 @@ void C_UnbindAll () AutomapBindings.UnbindAll(); } -CCMD (unbindall) +UNSAFE_CCMD (unbindall) { C_UnbindAll (); } diff --git a/src/c_cmds.cpp b/src/c_cmds.cpp index e3e87595d..efc11a3d2 100644 --- a/src/c_cmds.cpp +++ b/src/c_cmds.cpp @@ -674,7 +674,7 @@ UNSAFE_CCMD (error_fatal) //========================================================================== #if !defined(_WIN32) || !defined(_DEBUG) -CCMD (crashout) +UNSAFE_CCMD (crashout) { *(volatile int *)0 = 0; } diff --git a/src/g_game.cpp b/src/g_game.cpp index 82bff3f73..0e44e8301 100644 --- a/src/g_game.cpp +++ b/src/g_game.cpp @@ -2618,7 +2618,7 @@ CCMD (playdemo) } } -CCMD (timedemo) +UNSAFE_CCMD (timedemo) { if (argv.argc() > 1) { diff --git a/src/g_level.cpp b/src/g_level.cpp index b427599f0..0b211f3e6 100644 --- a/src/g_level.cpp +++ b/src/g_level.cpp @@ -224,7 +224,7 @@ CCMD (map) // //========================================================================== -CCMD(recordmap) +UNSAFE_CCMD(recordmap) { if (netgame) { diff --git a/src/sound/i_music.cpp b/src/sound/i_music.cpp index 28f839c6c..342fc5bf6 100644 --- a/src/sound/i_music.cpp +++ b/src/sound/i_music.cpp @@ -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) {