aboutsummaryrefslogtreecommitdiff
path: root/saga/interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saga/interface.cpp')
-rw-r--r--saga/interface.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/saga/interface.cpp b/saga/interface.cpp
index a2f42d2318..b951d4203b 100644
--- a/saga/interface.cpp
+++ b/saga/interface.cpp
@@ -555,6 +555,8 @@ int Interface::handleCommandUpdate(SURFACE *ds, const Point& imousePt) {
}
int Interface::handlePlayfieldClick(SURFACE *ds, const Point& imousePt) {
+ return FALSE;
+/*
int objectNum;
uint16 object_flags = 0;
@@ -566,6 +568,8 @@ int Interface::handlePlayfieldClick(SURFACE *ds, const Point& imousePt) {
if (objectNum == -1) {
// Player clicked on empty spot - walk here regardless of verb
_vm->_actor->StoA(iactor_pt, imousePt);
+ error("!");
+
_vm->_actor->walkTo(1, &iactor_pt, 0, NULL);
return SUCCESS;
}
@@ -585,13 +589,17 @@ int Interface::handlePlayfieldClick(SURFACE *ds, const Point& imousePt) {
} else {
// Not a normal scene object - walk to it as if it weren't there
_vm->_actor->StoA(iactor_pt, imousePt);
- _vm->_actor->walkTo(1, &iactor_pt, 0, NULL);
+// _vm->_actor->walkTo(1, &iactor_pt, 0, NULL);
+ error("!");
+
}
- return SUCCESS;
+ return SUCCESS;*/
}
int Interface::handlePlayfieldUpdate(SURFACE *ds, const Point& imousePt) {
+ return FALSE;
+ /*
const char *object_name;
int objectNum;
uint16 object_flags = 0;
@@ -623,6 +631,7 @@ int Interface::handlePlayfieldUpdate(SURFACE *ds, const Point& imousePt) {
setStatusText(new_status);
return SUCCESS;
+ */
}
int Interface::hitTest(const Point& imousePt, int *ibutton) {