From: Keith F. <ven...@us...> - 2003-01-25 09:25:56
|
Update of /cvsroot/planeshift/planeshift/src/client In directory sc8-pr-cvs1:/tmp/cvs-serv24287 Modified Files: zonehandler.cpp Log Message: Added error reporting if player sector is not found in zone info file. Index: zonehandler.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/zonehandler.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** zonehandler.cpp 5 Jan 2003 08:46:27 -0000 1.2 --- zonehandler.cpp 25 Jan 2003 09:25:54 -0000 1.3 *************** *** 50,53 **** --- 50,55 ---- #include "util/psxmlparser.h" #include "util/psscf.h" + #include "util/log.h" + SCF_IMPLEMENT_IBASE( ZoneHandler ) *************** *** 157,160 **** --- 159,167 ---- world->ExecuteFlaggedRegions(); + } + else + { + Error2("Could not find zone info for sector %s!\n",sector); + Error1("This means we're probably doomed at this point.\n"); } } |