mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 15:31:59 +00:00
TSAGE: Slight re-ordering of method calls in SceneHandler::dispatch
This fixes a problem in the title screen where the game title briefly appeared at full size.
This commit is contained in:
parent
a79ba2b4f4
commit
b912b3662a
@ -3513,9 +3513,14 @@ void SceneHandler::dispatch() {
|
||||
while (_globals->_events.getEvent(event))
|
||||
process(event);
|
||||
|
||||
_globals->_sceneManager.checkScene();
|
||||
_globals->_sceneObjects->draw();
|
||||
// Handle drawing the contents of the scene
|
||||
if (_globals->_sceneManager._scene)
|
||||
_globals->_sceneObjects->draw();
|
||||
|
||||
// Check to see if any scene change is required
|
||||
_globals->_sceneManager.checkScene();
|
||||
|
||||
// Signal the ScummVM debugger
|
||||
_vm->_debugger->onFrame();
|
||||
|
||||
// Delay between frames
|
||||
|
@ -2965,7 +2965,7 @@ void Scene6100::Action5::dispatch() {
|
||||
}
|
||||
|
||||
scene->_objList[idx]->_flags |= OBJFLAG_PANES;
|
||||
|
||||
/*
|
||||
if ((idx != 3) && (scene->_fadePercent == 100) &&
|
||||
(tempSet.sqrt(floatSet) < 150.0)) {
|
||||
switch (scene->_field_312++) {
|
||||
@ -2997,6 +2997,7 @@ void Scene6100::Action5::dispatch() {
|
||||
_globals->_scenePalette.clearListeners();
|
||||
scene->_fadePercent = 0;
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user