diff eclviewer.py @ 59:4fe37a620b22

Handle set_random_angle properly! At last!
author Thibaut Girka <thib@sitedethib.com>
date Wed, 24 Aug 2011 01:34:11 +0200
parents 3da4de9decd0
children 6a08f44fa01b
line wrap: on
line diff
--- a/eclviewer.py
+++ b/eclviewer.py
@@ -102,6 +102,8 @@ def main(path, stage_num):
             enemy_manager.update(frame)
             background.update(frame)
 
+            frame += 1
+
             # Draw everything
 #            glClearColor(0.0, 0.0, 1.0, 0)
             glClear(GL_DEPTH_BUFFER_BIT)
@@ -158,7 +160,6 @@ def main(path, stage_num):
 
             pygame.display.flip()
             clock.tick(120)
-            frame += 1