diff options
| author | Paul Gilbert | 2014-03-22 21:55:36 -0400 |
|---|---|---|
| committer | Paul Gilbert | 2014-03-22 21:55:36 -0400 |
| commit | 0b351f79d8ad874ce07fed54eb745a277da28edc (patch) | |
| tree | 6c86f2fe3b768b877655e181e2f6c2038a7eb5f8 /engines/mads/user_interface.cpp | |
| parent | 06766e930b3c6a858d6dccced7845eeec44708f7 (diff) | |
| download | scummvm-rg350-0b351f79d8ad874ce07fed54eb745a277da28edc.tar.gz scummvm-rg350-0b351f79d8ad874ce07fed54eb745a277da28edc.tar.bz2 scummvm-rg350-0b351f79d8ad874ce07fed54eb745a277da28edc.zip | |
MADS: Further fixes for hotspot highlighting
Diffstat (limited to 'engines/mads/user_interface.cpp')
| -rw-r--r-- | engines/mads/user_interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/user_interface.cpp b/engines/mads/user_interface.cpp index cae5c116d2..4a35d24ad0 100644 --- a/engines/mads/user_interface.cpp +++ b/engines/mads/user_interface.cpp @@ -447,7 +447,7 @@ void UserInterface::loadElements() { } if (!_vm->_game->_screenObjects._v832EC || _vm->_game->_screenObjects._v832EC == 2) { - _categoryIndexes[CAT_HOTSPOT - 1] = _vm->_game->_screenObjects.size(); + _categoryIndexes[CAT_HOTSPOT - 1] = _vm->_game->_screenObjects.size() + 1; for (int hotspotIdx = scene._hotspots.size() - 1; hotspotIdx >= 0; --hotspotIdx) { Hotspot &hs = scene._hotspots[hotspotIdx]; _vm->_game->_screenObjects.add(hs._bounds, LAYER_GUI, CAT_HOTSPOT, hotspotIdx); |
