From 1ddd54b50da3f67f39c7adfa63f6858b85c610e9 Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Mon, 5 May 2008 11:02:40 +0000 Subject: - 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 --- engines/parallaction/dialogue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/parallaction/dialogue.cpp') 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; -- cgit v1.2.3