aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sword1/control.cpp2
-rw-r--r--sword1/credits.cpp2
-rw-r--r--sword1/sword1.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/sword1/control.cpp b/sword1/control.cpp
index db86a88e0d..c6f68f5324 100644
--- a/sword1/control.cpp
+++ b/sword1/control.cpp
@@ -1009,7 +1009,7 @@ void Control::delay(uint32 msecs) {
case OSystem::EVENT_LBUTTONDOWN:
_mouseDown = true;
_mouseState |= BS1L_BUTTON_DOWN;
-#ifdef _WIN32_WCE
+#if defined(_WIN32_WCE) || defined(__PALM_OS__)
_mouseX = event.mouse.x;
_mouseY = event.mouse.y;
#endif
diff --git a/sword1/credits.cpp b/sword1/credits.cpp
index 4e55d75556..7b4c255c50 100644
--- a/sword1/credits.cpp
+++ b/sword1/credits.cpp
@@ -20,7 +20,7 @@
*/
#include "stdafx.h"
-#include "credits.h"
+#include "sword1/credits.h"
#include "screen.h"
#include "common/file.h"
#include "sound/mixer.h"
diff --git a/sword1/sword1.cpp b/sword1/sword1.cpp
index 1adeeb66ef..15ccf7614c 100644
--- a/sword1/sword1.cpp
+++ b/sword1/sword1.cpp
@@ -449,14 +449,14 @@ void SwordEngine::delay(int32 amount) { //copied and mutilated from sky.cpp
break;
case OSystem::EVENT_LBUTTONDOWN:
_mouseState |= BS1L_BUTTON_DOWN;
-#ifdef _WIN32_WCE
+#if defined(_WIN32_WCE) || defined(__PALM_OS__)
_mouseX = event.mouse.x;
_mouseY = event.mouse.y;
#endif
break;
case OSystem::EVENT_RBUTTONDOWN:
_mouseState |= BS1R_BUTTON_DOWN;
-#ifdef _WIN32_WCE
+#if defined(_WIN32_WCE) || defined(__PALM_OS__)
_mouseX = event.mouse.x;
_mouseY = event.mouse.y;
#endif