[wpdev-commits] xmlscripts/scripts/contextmenus petmenu.py,1.7,1.8
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-09-09 17:28:25
|
Update of /cvsroot/wpdev/xmlscripts/scripts/contextmenus In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28149/contextmenus Modified Files: petmenu.py Log Message: Bugfixes. Index: petmenu.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/contextmenus/petmenu.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** petmenu.py 25 Aug 2004 17:03:04 -0000 1.7 --- petmenu.py 9 Sep 2004 17:28:11 -0000 1.8 *************** *** 14,18 **** return 0 ! return object.owner == player def onContextEntry(char, target, tag): --- 14,18 ---- return 0 ! return (object.owner == player) or player.gm def onContextEntry(char, target, tag): *************** *** 20,24 **** return 0 ! if target.owner != char or not target.tamed: return 0 --- 20,24 ---- return 0 ! if (not char.gm and target.owner != char) or not target.tamed: return 0 |