Mercurial > touhou
diff pytouhou/game/enemy.pyx @ 540:53fa73932e9a
Fix warnings introduced in Cython 0.20, when more than one pointer is defined on the same line.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 10 May 2014 22:20:22 +0200 |
parents | db28538cd399 |
children | bcff39c920ab |
line wrap: on
line diff
--- a/pytouhou/game/enemy.pyx +++ b/pytouhou/game/enemy.pyx @@ -334,7 +334,8 @@ cdef class Enemy(Element): cdef Player player cdef PlayerLaser laser cdef long damages - cdef double half_size[2], phalf_size + cdef double half_size[2] + cdef double phalf_size # Check for collisions ex, ey = self.x, self.y