[wpdev-commits] xmlscripts/scripts/system spawns.py,1.9,1.10
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-17 23:35:58
|
Update of /cvsroot/wpdev/xmlscripts/scripts/system In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24124/system Modified Files: spawns.py Log Message: Fix for spawns Index: spawns.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/system/spawns.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** spawns.py 17 Oct 2004 17:45:36 -0000 1.9 --- spawns.py 17 Oct 2004 23:35:48 -0000 1.10 *************** *** 42,48 **** valid = item != None if valid and not item.hasscript( 'spawngem' ): ! valid = 0 ! if valid and not item.hastag('spawntype') or not item.hastag('spawndef'): ! valid = 0 if not valid: --- 42,48 ---- valid = item != None if valid and not item.hasscript( 'spawngem' ): ! valid = False ! if valid and (not item.hastag('spawntype') or not item.hastag('spawndef')): ! valid = False if not valid: |