Skip to content

Commit

Permalink
MADS: V2: Re-enable sprite drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Jul 3, 2015
1 parent 4248054 commit a211aef
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions engines/mads/scene.cpp
Expand Up @@ -500,14 +500,12 @@ void Scene::drawElements(ScreenTransition transitionType, bool surfaceFlag) {
_dirtyAreas.copy(&_backgroundSurface, &_vm->_screen, _posAdjust);

// Handle dirty areas for foreground objects
if (_vm->getGameID() == GType_RexNebular) // TODO: Implement for V2 games
_spriteSlots.setDirtyAreas();
_spriteSlots.setDirtyAreas();
_textDisplay.setDirtyAreas2();
_dirtyAreas.merge(1, DIRTY_AREAS_SIZE);

// Draw sprites that have changed
if (_vm->getGameID() == GType_RexNebular) // TODO: Implement for V2 games
_spriteSlots.drawSprites(&_sceneSurface);
_spriteSlots.drawSprites(&_sceneSurface);

// Draw text elements onto the view
_textDisplay.draw(&_vm->_screen);
Expand Down

0 comments on commit a211aef

Please sign in to comment.