Sanity checks, bugfixes, crashfixes, and misc tweaks snagged from snowglobe.
This commit is contained in:
@@ -328,16 +328,7 @@ void LLCloudLayer::setRegion(LLViewerRegion *regionp)
|
||||
|
||||
void LLCloudLayer::destroy()
|
||||
{
|
||||
// Kill all of the existing puffs
|
||||
S32 i, j;
|
||||
|
||||
for (i = 0; i < CLOUD_GROUPS_PER_EDGE; i++)
|
||||
{
|
||||
for (j = 0; j < CLOUD_GROUPS_PER_EDGE; j++)
|
||||
{
|
||||
mCloudGroups[i][j].cleanup();
|
||||
}
|
||||
}
|
||||
reset();
|
||||
|
||||
delete [] mDensityp;
|
||||
mDensityp = NULL;
|
||||
@@ -347,8 +338,17 @@ void LLCloudLayer::destroy()
|
||||
|
||||
void LLCloudLayer::reset()
|
||||
{
|
||||
}
|
||||
// Kill all of the existing puffs
|
||||
S32 i, j;
|
||||
|
||||
for (i = 0; i < CLOUD_GROUPS_PER_EDGE; i++)
|
||||
{
|
||||
for (j = 0; j < CLOUD_GROUPS_PER_EDGE; j++)
|
||||
{
|
||||
mCloudGroups[i][j].cleanup();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void LLCloudLayer::setWindPointer(LLWind *windp)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user