diff options
author | Paul Gilbert | 2014-03-20 08:34:56 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-03-20 08:34:56 -0400 |
commit | 436949eba2c51593ad35bab25af1f5fe17f3fe7a (patch) | |
tree | 784c901cd4c62884e1385b130c5f7c75edb69c9b /engines/mads/hotspots.cpp | |
parent | 8d252f4f0e81cfd43e5b311df4a1ed5fb478953b (diff) | |
download | scummvm-rg350-436949eba2c51593ad35bab25af1f5fe17f3fe7a.tar.gz scummvm-rg350-436949eba2c51593ad35bab25af1f5fe17f3fe7a.tar.bz2 scummvm-rg350-436949eba2c51593ad35bab25af1f5fe17f3fe7a.zip |
MADS: Implemented more action logic for highlighting 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 91b8127d92..4356e787d6 100644 --- a/engines/mads/hotspots.cpp +++ b/engines/mads/hotspots.cpp @@ -29,7 +29,7 @@ DynamicHotspot::DynamicHotspot() { _seqIndex = 0; _facing = 0; _descId = 0; - _field14 = 0; + _vocabId = 0; _articleNumber = 0; _cursor = CURSOR_NONE; } @@ -47,7 +47,7 @@ DynamicHotspots::DynamicHotspots(MADSEngine *vm) : _vm(vm) { _count = 0; } -int DynamicHotspots::add(int descId, int field14, int seqIndex, const Common::Rect &bounds) { +int DynamicHotspots::add(int descId, int vocabId, int seqIndex, const Common::Rect &bounds) { // Find a free slot uint idx = 0; while ((idx < _entries.size()) && _entries[idx]._active) @@ -62,7 +62,7 @@ int DynamicHotspots::add(int descId, int field14, int seqIndex, const Common::Re _entries[idx]._feetPos.x = -3; _entries[idx]._feetPos.y = 0; _entries[idx]._facing = 5; - _entries[idx]._field14 = field14; + _entries[idx]._vocabId = vocabId; _entries[idx]._articleNumber = 6; _entries[idx]._cursor = CURSOR_NONE; |