From: Christian S. <blu...@us...> - 2005-05-29 19:16:08
|
Update of /cvsroot/planeshift/planeshift/src/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11412/src/client Modified Files: modehandler.cpp Log Message: - Fixed the /teleport command crash on map without map - Made the client re-ask for the message strings if it hasn't received it in 5 sec - Pushed the net version - Fixed crash in the weather manager Index: modehandler.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/modehandler.cpp,v retrieving revision 1.120 retrieving revision 1.121 diff -C2 -d -r1.120 -r1.121 *** modehandler.cpp 27 May 2005 14:12:28 -0000 1.120 --- modehandler.cpp 29 May 2005 19:15:59 -0000 1.121 *************** *** 509,512 **** --- 509,518 ---- void ModeHandler::CreatePortalWeather(iSector* sector) { + if(!sector) + { + Error1("CreatePortalWeather received invalid sector!"); + return; + } + // Check portals csSet<csPtrKey<iMeshWrapper> >::GlobalIterator it = sector->GetPortalMeshes().GetIterator(); |