From 969c9b77d6b1150682e05960b8099eaf67221554 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 29 Jan 2018 11:13:55 +0000 Subject: [PATCH] Turn get/setmusicposition into no-ops. People were using these commands in spite of my explicit instructions not to. Now that music track is saved properly, no one has any excuse to continue using these. git-svn-id: https://svn.eduke32.com/eduke32@6621 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/gameexec.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/duke3d/src/gameexec.cpp b/source/duke3d/src/gameexec.cpp index 22cf90f4b..35af21d38 100644 --- a/source/duke3d/src/gameexec.cpp +++ b/source/duke3d/src/gameexec.cpp @@ -5056,12 +5056,10 @@ finish_qsprintf: case CON_SETMUSICPOSITION: insptr++; - S_SetMusicPosition(Gv_GetVarX(*insptr++)); + Gv_GetVarX(*(insptr++)); continue; - case CON_GETMUSICPOSITION: - insptr++; - Gv_SetVarX(*insptr++, S_GetMusicPosition()); + insptr += 2; continue; case CON_ACTIVATECHEAT: