changeset 141:982b21222602

Fix draw order to match EoSD's
author Thibaut Girka <thib@sitedethib.com>
date Sun, 25 Sep 2011 20:18:30 +0200
parents a9d46c4b5764
children c7f0fd9d2145
files pytouhou/opengl/gamerenderer.pyx
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pytouhou/opengl/gamerenderer.pyx
+++ b/pytouhou/opengl/gamerenderer.pyx
@@ -150,7 +150,7 @@ cdef class GameRenderer:
 
             glDisable(GL_FOG)
             self.render_elements(game.enemies)
+            self.render_elements(game.players)
             self.render_elements(game.game_state.bullets)
-            self.render_elements(game.players)
             glEnable(GL_FOG)