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