diff options
author | Andrew Kurushin | 2005-01-15 23:46:43 +0000 |
---|---|---|
committer | Andrew Kurushin | 2005-01-15 23:46:43 +0000 |
commit | fe424ed5ae36b0ac99d0f17ad563b57bed69cec5 (patch) | |
tree | 559ba1dc29110b013bcc1f983bbfeac6a2c403bd /saga/actionmap.h | |
parent | aa9debccec0c30f32f63957c9f6465afadb56f84 (diff) | |
download | scummvm-rg350-fe424ed5ae36b0ac99d0f17ad563b57bed69cec5.tar.gz scummvm-rg350-fe424ed5ae36b0ac99d0f17ad563b57bed69cec5.tar.bz2 scummvm-rg350-fe424ed5ae36b0ac99d0f17ad563b57bed69cec5.zip |
- added partial scene change by actor's walking (todo:entrance should be supported)
svn-id: r16568
Diffstat (limited to 'saga/actionmap.h')
-rw-r--r-- | saga/actionmap.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/saga/actionmap.h b/saga/actionmap.h index 9684a68975..3329d47b59 100644 --- a/saga/actionmap.h +++ b/saga/actionmap.h @@ -47,7 +47,12 @@ class ActionMap { int getExitSceneNumber(int index) const; int hitTest(const Point &testPoint); int draw(SURFACE *ds, int color); - + const HitZone * getHitZone(int index) const { + if ((index < 0) || (index >= _stepZoneListCount)) { + error("ActionMap::getHitZone wrong index 0x%X", index); + } + return _stepZoneList[index]; + } void cmdInfo(); private: |