diff options
author | Paul Gilbert | 2014-04-29 21:53:54 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-04-29 21:53:54 -0400 |
commit | dccc4510e82a7df9c8d3082a7914f6259382df14 (patch) | |
tree | 334f4ba79f9c04af638233d73fdf2ead5fb815a3 /engines/mads/hotspots.cpp | |
parent | a770419abcf109ca45b047f2bb361887632db00c (diff) | |
download | scummvm-rg350-dccc4510e82a7df9c8d3082a7914f6259382df14.tar.gz scummvm-rg350-dccc4510e82a7df9c8d3082a7914f6259382df14.tar.bz2 scummvm-rg350-dccc4510e82a7df9c8d3082a7914f6259382df14.zip |
MADS: Fix for highlighting and using dynamic hotspots
Diffstat (limited to 'engines/mads/hotspots.cpp')
-rw-r--r-- | engines/mads/hotspots.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mads/hotspots.cpp b/engines/mads/hotspots.cpp index 47d8204437..02617e92c7 100644 --- a/engines/mads/hotspots.cpp +++ b/engines/mads/hotspots.cpp @@ -29,7 +29,7 @@ DynamicHotspot::DynamicHotspot() { _seqIndex = 0; _facing = FACING_NONE; _descId = 0; - _vocabId = 0; + _verbId = 0; _articleNumber = 0; _cursor = CURSOR_NONE; } @@ -47,7 +47,7 @@ DynamicHotspots::DynamicHotspots(MADSEngine *vm) : _vm(vm) { _count = 0; } -int DynamicHotspots::add(int descId, int vocabId, int seqIndex, const Common::Rect &bounds) { +int DynamicHotspots::add(int descId, int verbId, int seqIndex, const Common::Rect &bounds) { // Find a free slot uint idx = 0; while ((idx < _entries.size()) && _entries[idx]._active) @@ -61,7 +61,7 @@ int DynamicHotspots::add(int descId, int vocabId, int seqIndex, const Common::Re _entries[idx]._bounds = bounds; _entries[idx]._feetPos = Common::Point(-3, 0); _entries[idx]._facing = FACING_NONE; - _entries[idx]._vocabId = vocabId; + _entries[idx]._verbId = verbId; _entries[idx]._articleNumber = 6; _entries[idx]._cursor = CURSOR_NONE; |