SCI/newgui: SciGuiTransitions::doit will warn about missing blackout-transitions
svn-id: r45193
This commit is contained in:
parent
ebd3a72626
commit
a19cfb4862
1 changed files with 5 additions and 2 deletions
|
@ -146,8 +146,11 @@ void SciGuiTransitions::doit(Common::Rect picRect) {
|
||||||
if (_blackoutFlag) {
|
if (_blackoutFlag) {
|
||||||
// We need to find out what transition we are supposed to use for blackout
|
// We need to find out what transition we are supposed to use for blackout
|
||||||
translationEntry = translateNumber(_number, blackoutTransitionIDs);
|
translationEntry = translateNumber(_number, blackoutTransitionIDs);
|
||||||
|
if (translationEntry) {
|
||||||
doTransition(translationEntry->newId, true);
|
doTransition(translationEntry->newId, true);
|
||||||
|
} else {
|
||||||
|
warning("SciGuiTransitions: ID %d not listed in blackoutTransitionIDs", _number);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Now we do the actual transition to the new screen
|
// Now we do the actual transition to the new screen
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue