Update of /cvsroot/wpdev/wolfpack/python
In directory sc8-pr-cvs1:/tmp/cvs-serv25723
Modified Files:
global.cpp
Log Message:
Clean up
Index: global.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/python/global.cpp,v
retrieving revision 1.86
retrieving revision 1.87
diff -C2 -d -r1.86 -r1.87
*** global.cpp 5 Sep 2003 20:12:38 -0000 1.86
--- global.cpp 5 Sep 2003 20:21:32 -0000 1.87
***************
*** 692,702 ****
{
Q_UNUSED(self);
! if( !checkArgInt( 0 ) )
! {
! PyErr_BadArgument();
return 0;
- }
! tile_st tile = TileCache::instance()->getTile( getArgInt( 0 ) );
PyObject *dict = PyDict_New();
--- 692,700 ----
{
Q_UNUSED(self);
! uint tileid = 0;
! if ( !PyArg_ParseTuple( args, "i:wolfpack.tiledata", &tileid ) )
return 0;
! tile_st tile = TileCache::instance()->getTile( tileid );
PyObject *dict = PyDict_New();
|