mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-18 10:31:42 +00:00
Remove MUSICPOS command, can be done in lua
This commit is contained in:
parent
297a8d537a
commit
29904a21b2
1 changed files with 0 additions and 9 deletions
|
@ -127,7 +127,6 @@ static void Command_Playintro_f(void);
|
|||
|
||||
static void Command_Displayplayer_f(void);
|
||||
static void Command_Tunes_f(void);
|
||||
static void Command_GetMusicposition_f(void);
|
||||
static void Command_RestartAudio_f(void);
|
||||
|
||||
static void Command_ExitLevel_f(void);
|
||||
|
@ -687,7 +686,6 @@ void D_RegisterClientCommands(void)
|
|||
|
||||
COM_AddCommand("displayplayer", Command_Displayplayer_f);
|
||||
COM_AddCommand("tunes", Command_Tunes_f);
|
||||
COM_AddCommand("musicpos", Command_GetMusicposition_f);
|
||||
COM_AddCommand("restartaudio", Command_RestartAudio_f);
|
||||
CV_RegisterVar(&cv_resetmusic);
|
||||
|
||||
|
@ -4051,13 +4049,6 @@ static void Command_Tunes_f(void)
|
|||
}
|
||||
}
|
||||
|
||||
static void Command_GetMusicposition_f(void)
|
||||
{
|
||||
UINT32 position = 0;
|
||||
position = S_GetPositionMusic();
|
||||
CONS_Printf(M_GetText("%d\n"), position);
|
||||
}
|
||||
|
||||
static void Command_RestartAudio_f(void)
|
||||
{
|
||||
if (dedicated) // No point in doing anything if game is a dedicated server.
|
||||
|
|
Loading…
Reference in a new issue