Fix crash in intro

svn-id: r16447
This commit is contained in:
Eugene Sandulenko 2005-01-06 15:29:17 +00:00
parent 028a8e4302
commit 12c44e85de

View File

@ -245,10 +245,11 @@ int SagaEngine::go() {
if (msec > MAX_TIME_DELTA) {
msec = MAX_TIME_DELTA;
}
if (_vm->_interface->getMode() == kPanelMain ||
if (!_vm->_scene->isInDemo())
if (_vm->_interface->getMode() == kPanelMain ||
_vm->_interface->getMode() == kPanelConverse ||
_vm->_interface->getMode() == kPanelNull)
_actor->direct(msec);
_actor->direct(msec);
_events->handleEvents(msec);
_script->executeThreads(msec);