mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 02:17:05 +00:00
SCI/newgui: SciGuiTransitions::doit will warn about missing blackout-transitions
svn-id: r45193
This commit is contained in:
parent
ebd3a72626
commit
a19cfb4862
@ -146,8 +146,11 @@ void SciGuiTransitions::doit(Common::Rect picRect) {
|
||||
if (_blackoutFlag) {
|
||||
// We need to find out what transition we are supposed to use for blackout
|
||||
translationEntry = translateNumber(_number, blackoutTransitionIDs);
|
||||
|
||||
doTransition(translationEntry->newId, true);
|
||||
if (translationEntry) {
|
||||
doTransition(translationEntry->newId, true);
|
||||
} else {
|
||||
warning("SciGuiTransitions: ID %d not listed in blackoutTransitionIDs", _number);
|
||||
}
|
||||
}
|
||||
|
||||
// Now we do the actual transition to the new screen
|
||||
|
Loading…
x
Reference in New Issue
Block a user