Null checks, initilizations, etc

This commit is contained in:
Shyotl
2011-03-05 18:00:16 -06:00
parent 77117d7463
commit 9f434ab384
12 changed files with 51 additions and 29 deletions

View File

@@ -123,6 +123,7 @@ LLWorld::LLWorld() :
void LLWorld::destroyClass()
{
mHoleWaterObjects.clear();
gObjectList.destroy();
for(region_list_t::iterator region_it = mRegionList.begin(); region_it != mRegionList.end(); )
{
@@ -263,6 +264,7 @@ void LLWorld::removeRegion(const LLHost &host)
llwarns << "Disabling region " << regionp->getName() << " that agent is in!" << llendl;
LLAppViewer::instance()->forceDisconnect("You have been disconnected from the region you were in.");
return;
}