diff options
author | Sven Hesse | 2009-07-05 11:27:54 +0000 |
---|---|---|
committer | Sven Hesse | 2009-07-05 11:27:54 +0000 |
commit | 18550c1314eb6a47651cd9dbe8b9be28b937bcc9 (patch) | |
tree | 7a1aaf81fe55dec695c1d6c2c6c26972284fa567 /engines/gob/inter.cpp | |
parent | 835dea71ceba85fb5c0fcdba7162cb9d92f77874 (diff) | |
download | scummvm-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.cpp')
-rw-r--r-- | engines/gob/inter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gob/inter.cpp b/engines/gob/inter.cpp index 5ec0647d29..afd215a00d 100644 --- a/engines/gob/inter.cpp +++ b/engines/gob/inter.cpp @@ -35,6 +35,7 @@ #include "gob/game.h" #include "gob/expression.h" #include "gob/script.h" +#include "gob/hotspots.h" #include "gob/scenery.h" #include "gob/sound/sound.h" @@ -334,7 +335,7 @@ void Inter::callSub(int16 retFlag) { if (block == 1) funcBlock(retFlag); else if (block == 2) - _vm->_game->collisionsBlock(); + _vm->_game->_hotspots->evaluate(); else error("Unknown block type %d in Inter::callSub()", block); } |