[wpdev-commits] xmlscripts/scripts gate.py,1.9,1.10
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-18 12:05:20
|
Update of /cvsroot/wpdev/xmlscripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22410 Modified Files: gate.py Log Message: gate fix Index: gate.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/gate.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** gate.py 13 Sep 2004 18:11:34 -0000 1.9 --- gate.py 18 Oct 2004 12:05:12 -0000 1.10 *************** *** 35,38 **** --- 35,47 ---- if len(target) > 3: pos.map = target[3] + + # Move his pets if he has any + if player.player: + for follower in player.followers: + if follower.wandertype == 4 and follower.distanceto(player) < 5: + follower.removefromview() + follower.moveto(pos) + follower.update(0) + player.removefromview() player.moveto(pos) |