* Prevents occasional wind module related exceptions on region server shutdown * Thanks Intimidated!0.6.5-rc1
parent
ed6165ab9c
commit
d0d481a0ab
|
@ -60,6 +60,7 @@ Patches
|
||||||
* Grumly57
|
* Grumly57
|
||||||
* Fly-Man
|
* Fly-Man
|
||||||
* Flyte Xevious
|
* Flyte Xevious
|
||||||
|
* Intimidated
|
||||||
* jhurliman
|
* jhurliman
|
||||||
* jimbo2120 (IBM)
|
* jimbo2120 (IBM)
|
||||||
* John R Sohn (XenReborn)
|
* John R Sohn (XenReborn)
|
||||||
|
|
|
@ -81,6 +81,9 @@ namespace OpenSim.Region.CoreModules.World.Wind.Plugins
|
||||||
}
|
}
|
||||||
|
|
||||||
public void WindUpdate(uint frame)
|
public void WindUpdate(uint frame)
|
||||||
|
{
|
||||||
|
//Make sure our object is valid (we haven't been disposed of yet)
|
||||||
|
if (m_windSpeeds != null)
|
||||||
{
|
{
|
||||||
for (int y = 0; y < 16; y++)
|
for (int y = 0; y < 16; y++)
|
||||||
{
|
{
|
||||||
|
@ -93,6 +96,7 @@ namespace OpenSim.Region.CoreModules.World.Wind.Plugins
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public Vector3 WindSpeed(float fX, float fY, float fZ)
|
public Vector3 WindSpeed(float fX, float fY, float fZ)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue