1
0
Fork 0
forked from len0rd/rockbox

wolf3d: allow entering in-game jukebox by holding fire button

Change-Id: I8936178191e682b70c64ef6ae04d6636e5cf3521
This commit is contained in:
Franklin Wei 2019-07-12 15:57:48 -04:00
parent ee58f2601c
commit 7739ad6622

View file

@ -1277,7 +1277,13 @@ static void InitGame()
// HOLDING DOWN 'M' KEY? (Fire for rockbox) // HOLDING DOWN 'M' KEY? (Fire for rockbox)
// //
#ifndef SPEARDEMO #ifndef SPEARDEMO
if (Keyboard[sc_Control]) /* allow entering jukebox */
rb->sleep(HZ / 10);
IN_ProcessEvents();
if (Keyboard[sc_Return])
{ {
DoJukebox(); DoJukebox();
didjukebox=true; didjukebox=true;