Mercurial > touhou
diff pytouhou/game/game.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 | 887de1309491 |
children | 292fea5c584e |
line wrap: on
line diff
--- a/pytouhou/game/game.pxd +++ b/pytouhou/game/game.pxd @@ -21,7 +21,7 @@ cdef class Game: cpdef disable_spellcard_effect(self) cdef void set_player_bomb(self) except * cdef void unset_player_bomb(self) except * - cpdef drop_bonus(self, double x, double y, long _type, end_pos=*) + cpdef drop_bonus(self, double x, double y, long _type, end_pos=*, player=*) cdef void autocollect(self, Player player) except * cdef void cancel_bullets(self) except * cdef void cancel_player_lasers(self) except *