Update of /cvsroot/wpdev/xmlscripts/scripts/magic
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31770/magic
Modified Files:
runebook.py
Log Message:
Fixes
Index: runebook.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/magic/runebook.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** runebook.py 17 Oct 2004 23:11:40 -0000 1.11
--- runebook.py 20 Oct 2004 15:44:26 -0000 1.12
***************
*** 215,219 ****
runes[ i ] = int( item.gettag( "rune %i" % i ) )
runenum = 0
! while( runes[ runenum ] > -1 ):
runenum = runenum + 1
runenames = [ "Empty" ] * 16
--- 215,219 ----
runes[ i ] = int( item.gettag( "rune %i" % i ) )
runenum = 0
! while( runenum < 16 and runes[ runenum ] > -1 ):
runenum = runenum + 1
runenames = [ "Empty" ] * 16
|