Mercurial > touhou
diff pytouhou/ui/gamerenderer.pyx @ 306:52d791bb7c32
Rename a few attributes/methods to make a little more sense.
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Tue, 13 Mar 2012 19:18:14 +0100 |
parents | f3099ebf4f61 |
children | e935ed8dc5e6 |
line wrap: on
line diff
--- a/pytouhou/ui/gamerenderer.pyx +++ b/pytouhou/ui/gamerenderer.pyx @@ -45,11 +45,11 @@ cdef class GameRenderer(Renderer): game = self.game texture_manager = self.texture_manager - if game is not None and game.effect is not None: + if game is not None and game.spellcard_effect is not None: self.setup_camera(0, 0, 1) glDisable(GL_FOG) - self.render_elements([game.effect]) + self.render_elements([game.spellcard_effect]) glEnable(GL_FOG) elif back is not None: fog_b, fog_g, fog_r, fog_start, fog_end = back.fog_interpolator.values