From: <mg...@us...> - 2009-09-19 01:05:25
|
Revision: 4446 http://planeshift.svn.sourceforge.net/planeshift/?rev=4446&view=rev Author: mgist Date: 2009-09-19 01:05:17 +0000 (Sat, 19 Sep 2009) Log Message: ----------- - Added error check. Modified Paths: -------------- trunk/src/common/paws/pawsobjectview.cpp Modified: trunk/src/common/paws/pawsobjectview.cpp =================================================================== --- trunk/src/common/paws/pawsobjectview.cpp 2009-09-19 00:10:56 UTC (rev 4445) +++ trunk/src/common/paws/pawsobjectview.cpp 2009-09-19 01:05:17 UTC (rev 4446) @@ -110,7 +110,10 @@ { csRef<iStringArray> zone = csPtr<iStringArray>(new scfStringArray()); zone->Push(map); - loader->LoadZones(zone); + if(!loader->LoadZones(zone)) + { + Error2("Failed to load zone '%s'\n", map); + } stage = engine->FindSector( sector ); if (!stage) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |