Mercurial > touhou
changeset 551:0d7a16e0f834
Don’t display spellcard backgrounds either with the SDL backend.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Tue, 27 May 2014 17:41:52 +0200 |
parents | f1be00de4b3f |
children | aad758aef26d |
files | pytouhou/ui/sdl/gamerenderer.py |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/pytouhou/ui/sdl/gamerenderer.py +++ b/pytouhou/ui/sdl/gamerenderer.py @@ -58,10 +58,7 @@ class GameRenderer(object): self.window.win.render_set_clip_rect(Rect(x, -y, game.width, game.height)) if game is not None: - if game.spellcard_effect is not None: - self.render_elements([game.spellcard_effect]) - else: - self.window.win.render_clear() + self.window.win.render_clear() self.render_elements([enemy for enemy in game.enemies if enemy.visible]) self.render_elements(game.effects)