Update of /cvsroot/wpdev/xmlscripts/scripts/wolfpack
In directory sc8-pr-cvs1:/tmp/cvs-serv28043
Modified Files:
__init__.py
Log Message:
Fix: wolfpack.statics() was ignoring the last optional param ( exact )
Index: __init__.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/__init__.py,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** __init__.py 8 Oct 2003 01:56:41 -0000 1.35
--- __init__.py 13 Jan 2004 19:17:15 -0000 1.36
***************
*** 66,70 ****
raise TypeError, "x, y and map need to be integer values"
else:
! return _wolfpack.statics( x, y, map, range )
def items( x, y, map, range=1 ):
--- 66,71 ----
raise TypeError, "x, y and map need to be integer values"
else:
! return _wolfpack.statics( x, y, map, exact )
! #statics = _wolfpack.statics
def items( x, y, map, range=1 ):
***************
*** 160,166 ****
return _wolfpack.tiledata( id )
- def statics( x, y, map ):
- return _wolfpack.statics( x, y, map )
-
def newnpc( createserial = 0 ):
return _wolfpack.newnpc( createserial )
--- 161,164 ----
|