aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction_ns.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-07-21 09:25:40 +0000
committerNicola Mettifogo2008-07-21 09:25:40 +0000
commit5a71d764e7278fd4c9d83ba80e500e05b9b18fc7 (patch)
treed78401c1f7193e9da7769056b650b329fedfe4ef /engines/parallaction/parallaction_ns.cpp
parent361bed0a9535104611d3e0e88d5b3e1ad788639d (diff)
downloadscummvm-rg350-5a71d764e7278fd4c9d83ba80e500e05b9b18fc7.tar.gz
scummvm-rg350-5a71d764e7278fd4c9d83ba80e500e05b9b18fc7.tar.bz2
scummvm-rg350-5a71d764e7278fd4c9d83ba80e500e05b9b18fc7.zip
Some refactoring for tracking of floating labels.
svn-id: r33165
Diffstat (limited to 'engines/parallaction/parallaction_ns.cpp')
-rw-r--r--engines/parallaction/parallaction_ns.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/parallaction/parallaction_ns.cpp b/engines/parallaction/parallaction_ns.cpp
index cbf9ee985d..9e925d1e1d 100644
--- a/engines/parallaction/parallaction_ns.cpp
+++ b/engines/parallaction/parallaction_ns.cpp
@@ -191,7 +191,7 @@ void Parallaction_ns::setArrowCursor() {
debugC(1, kDebugInput, "setting mouse cursor to arrow");
// this stuff is needed to avoid artifacts with labels and selected items when switching cursors
- _gfx->hideFloatingLabel();
+ _input->stopHovering();
_input->_activeItem._id = 0;
_system->setMouseCursor(_mouseArrow, MOUSEARROW_WIDTH, MOUSEARROW_HEIGHT, 0, 0, 0);
@@ -302,12 +302,11 @@ void Parallaction_ns::changeLocation(char *location) {
_soundMan->playLocationMusic(location);
- _gfx->hideFloatingLabel();
+ _input->stopHovering();
_gfx->freeLabels();
_zoneTrap = nullZonePtr;
- _input->stopHovering();
if (_engineFlags & kEngineBlockInput) {
setArrowCursor();
}