summaryrefslogtreecommitdiff
authorimm <imm>2002-09-22 18:30:29 (UTC)
committer imm <imm>2002-09-22 18:30:29 (UTC)
commit4904161b6b043e1397db4affd7930fd999ff742e (patch) (side-by-side diff)
treebb46b289fb71af969cf48810c1795ad023252bf9
parentf8aeb3c2e6b32600329ebbaeb0b4b7a2f371eca2 (diff)
downloadopie-4904161b6b043e1397db4affd7930fd999ff742e.zip
opie-4904161b6b043e1397db4affd7930fd999ff742e.tar.gz
opie-4904161b6b043e1397db4affd7930fd999ff742e.tar.bz2
better ?
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/kpacman/referee.cpp18
1 files changed, 2 insertions, 16 deletions
diff --git a/noncore/games/kpacman/referee.cpp b/noncore/games/kpacman/referee.cpp
index 81f331b..6d8f3fb 100644
--- a/noncore/games/kpacman/referee.cpp
+++ b/noncore/games/kpacman/referee.cpp
@@ -727,21 +727,7 @@ void Referee::keyPressEvent( QKeyEvent *k )
{
uint key = k->key();
-#ifdef QWS
- // "OK" => new game
- if ( key == Key_F33 || key == Key_F2 || key == Key_Enter )
- play();
- else if ( !gameState.testBit(Playing) &&
- ( key == Key_Up ||
- key == Key_Down ||
- key == Key_Right ||
- key == Key_Left ))
+
+ if ( !gameState.testBit(Playing) && ( key == Key_Up || key == Key_Down || key == Key_Left || key == Key_Right ) )
play();
- // "Space" => pause
- //else if ( key == Key_Space || key == Key_F3 )
- // pause();
- // "Menu" => hall of fame
- //else if ( key == Key_F11 || key == Key_F4 )
- // toggleHallOfFame();
-#endif
if (gameState.testBit(Paused) || gameState.testBit(HallOfFame) ||