From 16cdad6bca6f4ff5a4205c7ef727d4162bc35892 Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 1 Jul 2018 04:51:25 +0000 Subject: [PATCH] Rename console command 'sv_cleanup' to 'purgesaves', as sv_ is a prefix for cvars, not console commands git-svn-id: https://svn.eduke32.com/eduke32@6935 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/osdcmds.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/duke3d/src/osdcmds.cpp b/source/duke3d/src/osdcmds.cpp index 7516fc392..66ab6067c 100644 --- a/source/duke3d/src/osdcmds.cpp +++ b/source/duke3d/src/osdcmds.cpp @@ -1411,7 +1411,7 @@ static int32_t osdcmd_kickban(osdfuncparm_t const * const parm) } #endif -static int32_t osdcmd_sv_cleanup(osdfuncparm_t const * const UNUSED(parm)) +static int32_t osdcmd_purgesaves(osdfuncparm_t const * const UNUSED(parm)) { UNREFERENCED_CONST_PARAMETER(parm); G_DeleteOldSaves(); @@ -1784,8 +1784,6 @@ int32_t registerosdcommands(void) OSD_RegisterFunction("disconnect","disconnect: disconnects from the local multiplayer game", osdcmd_disconnect); #endif - OSD_RegisterFunction("sv_cleanup", "sv_cleanup: deletes obsolete and unreadable save files", osdcmd_sv_cleanup); - for (i=0; i