diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Wind/Plugins/ConfigurableWind.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Wind/Plugins/ConfigurableWind.cs b/OpenSim/Region/CoreModules/World/Wind/Plugins/ConfigurableWind.cs index 0d4a17d..41d2071 100644 --- a/OpenSim/Region/CoreModules/World/Wind/Plugins/ConfigurableWind.cs +++ b/OpenSim/Region/CoreModules/World/Wind/Plugins/ConfigurableWind.cs | |||
@@ -112,7 +112,7 @@ namespace OpenSim.Region.CoreModules.World.Wind.Plugins | |||
112 | // TODO: | 112 | // TODO: |
113 | // * This should probably be based on in-world time. | 113 | // * This should probably be based on in-world time. |
114 | // * should probably move all these local variables to class members and constants | 114 | // * should probably move all these local variables to class members and constants |
115 | double time = DateTime.Now.TimeOfDay.Seconds / 86400; | 115 | double time = DateTime.Now.TimeOfDay.Seconds / 86400.0f; |
116 | 116 | ||
117 | double theta = time * (2 * Math.PI) * m_rateChange; | 117 | double theta = time * (2 * Math.PI) * m_rateChange; |
118 | 118 | ||