mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
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
This commit is contained in:
parent
ba7340ca47
commit
16cdad6bca
1 changed files with 3 additions and 3 deletions
|
@ -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<NUMGAMEFUNCTIONS; i++)
|
||||
{
|
||||
char *t;
|
||||
|
@ -1832,6 +1830,8 @@ int32_t registerosdcommands(void)
|
|||
|
||||
OSD_RegisterFunction("printtimes", "printtimes: prints VM timing statistics", osdcmd_printtimes);
|
||||
|
||||
OSD_RegisterFunction("purgesaves", "purgesaves: deletes obsolete and unreadable save files", osdcmd_purgesaves);
|
||||
|
||||
OSD_RegisterFunction("quicksave","quicksave: performs a quick save", osdcmd_quicksave);
|
||||
OSD_RegisterFunction("quickload","quickload: performs a quick load", osdcmd_quickload);
|
||||
OSD_RegisterFunction("quit","quit: exits the game immediately", osdcmd_quit);
|
||||
|
|
Loading…
Reference in a new issue