From e8c9bf044f6b6e15ad43631a37e8c0417cab6f0f Mon Sep 17 00:00:00 2001 From: helixhorned Date: Thu, 20 Jun 2013 18:31:48 +0000 Subject: [PATCH] Don't register "savestate" and "restorestate" OSD commands even in debug builds. They don't get registered on Windows for some reason, and mapstate debugging is best carried out using scripting code, anyway. git-svn-id: https://svn.eduke32.com/eduke32@3892 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/osdcmds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/osdcmds.c b/polymer/eduke32/source/osdcmds.c index 9cf8d467c..9943975de 100644 --- a/polymer/eduke32/source/osdcmds.c +++ b/polymer/eduke32/source/osdcmds.c @@ -1136,7 +1136,7 @@ static int32_t osdcmd_screenshot(const osdfuncparm_t *parm) return OSDCMD_OK; } -#ifdef DEBUGGINGAIDS +#if 0 static int32_t osdcmd_savestate(const osdfuncparm_t *parm) { UNREFERENCED_PARAMETER(parm); @@ -1605,7 +1605,7 @@ int32_t registerosdcommands(void) OSD_RegisterFunction("unbindall","unbindall: unbinds all keys", osdcmd_unbindall); OSD_RegisterFunction("vidmode","vidmode : change the video mode",osdcmd_vidmode); -#ifdef DEBUGGINGAIDS +#if 0 OSD_RegisterFunction("savestate","",osdcmd_savestate); OSD_RegisterFunction("restorestate","",osdcmd_restorestate); #endif