aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorlukaslw2014-06-01 14:39:11 +0200
committerlukaslw2014-06-22 20:08:35 +0200
commit8223124c095dc571849871d69ed37b214680b961 (patch)
treeccef7d425d2dc6ded171a76f69a3b07d4a388c08 /engines
parent8b8329a214db34276bcc6231999d460ade6005f9 (diff)
downloadscummvm-rg350-8223124c095dc571849871d69ed37b214680b961.tar.gz
scummvm-rg350-8223124c095dc571849871d69ed37b214680b961.tar.bz2
scummvm-rg350-8223124c095dc571849871d69ed37b214680b961.zip
PRINCE: clsMasks call in proper place
Diffstat (limited to 'engines')
-rw-r--r--engines/prince/prince.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/prince/prince.cpp b/engines/prince/prince.cpp
index 22064b05af..f83f7ad45b 100644
--- a/engines/prince/prince.cpp
+++ b/engines/prince/prince.cpp
@@ -1049,8 +1049,6 @@ void PrinceEngine::drawScreen() {
_graph->draw(0, 0, &visiblePart);
}
- clsMasks();
-
if (_mainHero->_visible) {
Graphics::Surface *mainHeroSurface = _mainHero->getSurface();
if (mainHeroSurface) {
@@ -1076,6 +1074,8 @@ void PrinceEngine::drawScreen() {
insertMasks(&visiblePart);
}
+ clsMasks();
+
playNextFrame();
hotspot();