[wpdev-commits] xmlscripts/scripts/commands move.py,1.1,1.2
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-08-28 16:14:18
|
Update of /cvsroot/wpdev/xmlscripts/scripts/commands In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30607/commands Modified Files: move.py Log Message: fix for .move Index: move.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/move.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** move.py 13 Jul 2004 22:50:44 -0000 1.1 --- move.py 28 Aug 2004 16:14:10 -0000 1.2 *************** *** 82,86 **** item = target.item pos = item.pos ! if not newmap: newposition = "%i,%i,%i,%i" % ( (pos.x + xmod) , (pos.y + ymod ), (pos.z + zmod), newmap ) else: --- 82,86 ---- item = target.item pos = item.pos ! if type(newmap) == int: newposition = "%i,%i,%i,%i" % ( (pos.x + xmod) , (pos.y + ymod ), (pos.z + zmod), newmap ) else: *************** *** 93,97 **** npc = target.char pos = npc.pos ! if not newmap: newposition = "%i,%i,%i,%i" % ( (pos.x + xmod) , (pos.y + ymod ), (pos.z + zmod), newmap ) else: --- 93,97 ---- npc = target.char pos = npc.pos ! if type(newmap) == int: newposition = "%i,%i,%i,%i" % ( (pos.x + xmod) , (pos.y + ymod ), (pos.z + zmod), newmap ) else: *************** *** 103,107 **** player = target.char pos = player.pos ! if not newmap: newposition = "%i,%i,%i,%i" % ( (pos.x + xmod) , (pos.y + ymod ), (pos.z + zmod), newmap ) else: --- 103,107 ---- player = target.char pos = player.pos ! if type(newmap) == int: newposition = "%i,%i,%i,%i" % ( (pos.x + xmod) , (pos.y + ymod ), (pos.z + zmod), newmap ) else: |