Update of /cvsroot/wpdev/wolfpack/muls
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12336/muls
Modified Files:
maps.cpp
Log Message:
Fixed bug #0000348 ( Guards should kill instantly )
Index: maps.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/muls/maps.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** maps.cpp 1 Oct 2004 19:43:56 -0000 1.15
--- maps.cpp 9 Oct 2004 14:32:22 -0000 1.16
***************
*** 342,346 ****
p = new MapsPrivate( basePath + staticsIdxName, basePath + mapFileName, basePath + staticsFileName );
} catch(wpFileNotFoundException &e) {
! Console::instance()->log(LOG_WARNING, QString("Unable to find the files for map %1.\n").arg(id));
return false;
}
--- 342,346 ----
p = new MapsPrivate( basePath + staticsIdxName, basePath + mapFileName, basePath + staticsFileName );
} catch(wpFileNotFoundException &e) {
! Console::instance()->log(LOG_WARNING, tr("Unable to find the files for map %1.\n").arg(id));
return false;
}
***************
*** 624,628 ****
const_iterator it = d.find( id );
if ( it == d.end() ) {
! Console::instance()->log(LOG_ERROR, QString( "[cMaps::staticsIterator line %1] map id(%2) not registered!\n" ).arg( __LINE__ ).arg( id ) );
return StaticsIterator( x, y, 0, true );
}
--- 624,628 ----
const_iterator it = d.find( id );
if ( it == d.end() ) {
! Console::instance()->log(LOG_ERROR, tr( "[cMaps::staticsIterator line %1] map id(%2) not registered!\n" ).arg( __LINE__ ).arg( id ) );
return StaticsIterator( x, y, 0, true );
}
|