aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v1.cpp
diff options
context:
space:
mode:
authorSven Hesse2009-07-05 11:27:54 +0000
committerSven Hesse2009-07-05 11:27:54 +0000
commit18550c1314eb6a47651cd9dbe8b9be28b937bcc9 (patch)
tree7a1aaf81fe55dec695c1d6c2c6c26972284fa567 /engines/gob/inter_v1.cpp
parent835dea71ceba85fb5c0fcdba7162cb9d92f77874 (diff)
downloadscummvm-rg350-18550c1314eb6a47651cd9dbe8b9be28b937bcc9.tar.gz
scummvm-rg350-18550c1314eb6a47651cd9dbe8b9be28b937bcc9.tar.bz2
scummvm-rg350-18550c1314eb6a47651cd9dbe8b9be28b937bcc9.zip
Moving the "Collision" stuff to Hotspots in hotspots.cpp/.h
svn-id: r42123
Diffstat (limited to 'engines/gob/inter_v1.cpp')
-rw-r--r--engines/gob/inter_v1.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gob/inter_v1.cpp b/engines/gob/inter_v1.cpp
index 23c9351dd4..7d32104552 100644
--- a/engines/gob/inter_v1.cpp
+++ b/engines/gob/inter_v1.cpp
@@ -37,6 +37,7 @@
#include "gob/expression.h"
#include "gob/script.h"
#include "gob/resources.h"
+#include "gob/hotspots.h"
#include "gob/goblin.h"
#include "gob/inter.h"
#include "gob/map.h"
@@ -1173,7 +1174,7 @@ bool Inter_v1::o1_keyFunc(OpFuncParams &params) {
case 0:
_vm->_draw->_showCursor &= ~2;
_vm->_util->longDelay(1);
- key = _vm->_game->checkCollisions(0, 0, 0, 0);
+ key = _vm->_game->_hotspots->check(0, 0);
storeKey(key);
_vm->_util->clearKeyBuf();