Fixed 2 MSVC warnings (potentially undefined behavior and possibly uninitialized variable used)

svn-id: r32758
This commit is contained in:
Filippos Karapetis 2008-06-22 17:36:14 +00:00
parent d2609258cc
commit 9194f39185

View File

@ -268,11 +268,11 @@ int16 DialogueManager::selectAnswer() {
}
int oldSelection = -1;
int selection;
int selection = 0;
uint32 event;
Common::Point p;
while (_engineFlags & kEngineQuit == 0) {
while ((_engineFlags & kEngineQuit) == 0) {
_vm->_input->readInput();
_vm->_input->getCursorPos(p);