changeset 466:b16d34fca5b4

Revert a change in 78e1c3864e73, causing boss rush to not destroy any standard enemy.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 12 Sep 2013 11:59:24 +0200
parents 5f5955635d2c
children 5bb7d2c0ff46
files pytouhou/game/game.pxd pytouhou/game/game.pyx
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pytouhou/game/game.pxd
+++ b/pytouhou/game/game.pxd
@@ -25,4 +25,4 @@ cdef class Game:
     cdef void update_hints(self)
     cdef void update_faces(self)
     cdef void update_bullets(self)
-    cdef void cleanup(self)
+    cpdef cleanup(self)
--- a/pytouhou/game/game.pyx
+++ b/pytouhou/game/game.pyx
@@ -456,7 +456,7 @@ cdef class Game:
                     item.on_collect(player)
 
 
-    cdef void cleanup(self):
+    cpdef cleanup(self):
         cdef Enemy enemy
         cdef Bullet bullet
         cdef Item item