Skip to content

Commit

Permalink
PRINCE: clsMasks call in proper place
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaslw committed Jun 22, 2014
1 parent 8b8329a commit 8223124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/prince/prince.cpp
Expand Up @@ -1049,8 +1049,6 @@ void PrinceEngine::drawScreen() {
_graph->draw(0, 0, &visiblePart);
}

clsMasks();

if (_mainHero->_visible) {
Graphics::Surface *mainHeroSurface = _mainHero->getSurface();
if (mainHeroSurface) {
Expand All @@ -1076,6 +1074,8 @@ void PrinceEngine::drawScreen() {
insertMasks(&visiblePart);
}

clsMasks();

playNextFrame();

hotspot();
Expand Down

0 comments on commit 8223124

Please sign in to comment.