aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/dialogue.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-05-05 11:02:40 +0000
committerNicola Mettifogo2008-05-05 11:02:40 +0000
commit1ddd54b50da3f67f39c7adfa63f6858b85c610e9 (patch)
tree59671f508ca64e3f54a6f5126b61c609c56e67d6 /engines/parallaction/dialogue.cpp
parentb6c7385eb4fea90dd315124fe5bffe874430eb48 (diff)
downloadscummvm-rg350-1ddd54b50da3f67f39c7adfa63f6858b85c610e9.tar.gz
scummvm-rg350-1ddd54b50da3f67f39c7adfa63f6858b85c610e9.tar.bz2
scummvm-rg350-1ddd54b50da3f67f39c7adfa63f6858b85c610e9.zip
- Moved some members from the engine class to Location, since they belong there.
- Cleaned up usage of location flags by using accessor functions. svn-id: r31872
Diffstat (limited to 'engines/parallaction/dialogue.cpp')
-rw-r--r--engines/parallaction/dialogue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/dialogue.cpp b/engines/parallaction/dialogue.cpp
index 73414ce0b4..2e3ecb590f 100644
--- a/engines/parallaction/dialogue.cpp
+++ b/engines/parallaction/dialogue.cpp
@@ -155,7 +155,7 @@ bool DialogueManager::displayAnswer(uint16 i) {
Answer *a = _q->_answers[i];
- uint32 flags = _vm->_localFlags[_vm->_currentLocationIndex];
+ uint32 flags = _vm->getLocationFlags();
if (a->_yesFlags & kFlagsGlobal)
flags = _commandFlags | kFlagsGlobal;