Null checks, initilizations, etc
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user