diff pytouhou/game/item.pxd @ 502:3d3285918ba1

Disallow collection of items dropped by the other player in netplay, also fixes a longstanding bug where autocollection worked with those items.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 23 Oct 2013 18:24:08 +0200
parents 8038f1957b71
children a6af3ff86612
line wrap: on
line diff
--- a/pytouhou/game/item.pxd
+++ b/pytouhou/game/item.pxd
@@ -19,6 +19,7 @@ cdef class Item(Element):
     cdef double angle, speed
     cdef Game _game
     cdef Player player
+    cdef Element target
     cdef Indicator indicator
     cdef Interpolator speed_interpolator, pos_interpolator