Skip to content

Commit

Permalink
HOPKINS: Remove setParent() from LinesManager
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Mar 20, 2013
1 parent 6a446ff commit 56ae004
Show file tree
Hide file tree
Showing 9 changed files with 361 additions and 365 deletions.
2 changes: 1 addition & 1 deletion engines/hopkins/dialogs.cpp
Expand Up @@ -394,7 +394,7 @@ void DialogsManager::showInventory() {
int mousePosY = _vm->_eventsManager->getMouseY();
int mouseButton = _vm->_eventsManager->getMouseButton();
int oldInventoryItem = newInventoryItem;
newInventoryItem = _vm->_linesManager.checkInventoryHotspots(mousePosX, mousePosY);
newInventoryItem = _vm->_linesManager->checkInventoryHotspots(mousePosX, mousePosY);
if (newInventoryItem != oldInventoryItem)
_vm->_objectsManager.initBorder(newInventoryItem);
if (_vm->_eventsManager->_mouseCursorId != 1 && _vm->_eventsManager->_mouseCursorId != 2 && _vm->_eventsManager->_mouseCursorId != 3 && _vm->_eventsManager->_mouseCursorId != 16) {
Expand Down
2 changes: 1 addition & 1 deletion engines/hopkins/globals.cpp
Expand Up @@ -246,7 +246,7 @@ void Globals::clearAll() {
_saveData = (Savegame *)g_PTRNUL;
_vm->_objectsManager._curObjectIndex = 0;

_vm->_linesManager.clearAll();
_vm->_linesManager->clearAll();
_vm->_objectsManager.clearAll();

_saveData = (Savegame *)malloc(sizeof(Savegame));
Expand Down

0 comments on commit 56ae004

Please sign in to comment.