forked from len0rd/rockbox
wolf3d: allow entering in-game jukebox by holding fire button
Change-Id: I8936178191e682b70c64ef6ae04d6636e5cf3521
This commit is contained in:
parent
ee58f2601c
commit
7739ad6622
1 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue