aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2012-09-28 01:44:06 +0300
committerFilippos Karapetis2012-09-28 01:44:06 +0300
commita1969ae268bfcbe8300e27ca4505acd45d223854 (patch)
treeaacc0495985b8dea2c475ce3bb42596a90a80e72
parent864b4acdf180dfc3025f30dcf7c11011239511ec (diff)
downloadscummvm-rg350-a1969ae268bfcbe8300e27ca4505acd45d223854.tar.gz
scummvm-rg350-a1969ae268bfcbe8300e27ca4505acd45d223854.tar.bz2
scummvm-rg350-a1969ae268bfcbe8300e27ca4505acd45d223854.zip
PARALLACTION: Add a missing return statement
The final credits screen has no background, it just reuses the background of the final scene. Part of the fixes for bug #5866
-rw-r--r--engines/parallaction/parallaction_ns.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/parallaction/parallaction_ns.cpp b/engines/parallaction/parallaction_ns.cpp
index 1226fd1246..d33be0aa47 100644
--- a/engines/parallaction/parallaction_ns.cpp
+++ b/engines/parallaction/parallaction_ns.cpp
@@ -310,6 +310,7 @@ void Parallaction_ns::changeBackground(const char* background, const char* mask,
_system->delayMillis(20);
_gfx->setPalette(pal);
_gfx->updateScreen();
+ return;
}
if (path == 0) {