summaryrefslogtreecommitdiff
path: root/games/pinball/files/patch-src::EyeBehavior.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/pinball/files/patch-src::EyeBehavior.cpp')
-rw-r--r--games/pinball/files/patch-src::EyeBehavior.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/games/pinball/files/patch-src::EyeBehavior.cpp b/games/pinball/files/patch-src::EyeBehavior.cpp
new file mode 100644
index 000000000000..cf8ab2d7b6e9
--- /dev/null
+++ b/games/pinball/files/patch-src::EyeBehavior.cpp
@@ -0,0 +1,18 @@
+--- ./src/EyeBehavior.cpp.orig Mon May 26 08:38:02 2003
++++ ./src/EyeBehavior.cpp Sun Jun 8 22:14:17 2003
+@@ -55,6 +55,7 @@
+ EmAssert(table->getBall(2) != NULL, "Ball3 group NULL");
+ EmAssert(this->getParent() != NULL, "Parent group NULL");
+
++#if EM_USE_SDL
+ // short cuts for changing view F1, F2, F2, F4
+ if (Keyboard::isKeyDown(SDLK_F1)) {
+ Config::getInstance()->setView(0);
+@@ -65,6 +66,7 @@
+ } else if (Keyboard::isKeyDown(SDLK_F4)) {
+ Config::getInstance()->setView(3);
+ }
++#endif
+
+ // the nudge code is here ----------------
+ if (m_iNudgeTick < 1) {