aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Wind/WindModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Wind/WindModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/World/Wind/WindModule.cs10
1 files changed, 3 insertions, 7 deletions
diff --git a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs
index 52df3bc..700fe2f 100644
--- a/OpenSim/Region/CoreModules/World/Wind/WindModule.cs
+++ b/OpenSim/Region/CoreModules/World/Wind/WindModule.cs
@@ -225,9 +225,8 @@ namespace OpenSim.Region.CoreModules
225 { 225 {
226 ValidateConsole(); 226 ValidateConsole();
227 227
228 if( (cmdparams.Length != 4) 228 if ((cmdparams.Length != 4)
229 || !cmdparams[1].Equals("base") 229 || !cmdparams[1].Equals("base"))
230 )
231 { 230 {
232 m_log.Info("[WIND] Invalid parameters to change parameters for Wind module base, usage: wind base <parameter> <value>"); 231 m_log.Info("[WIND] Invalid parameters to change parameters for Wind module base, usage: wind base <parameter> <value>");
233 return; 232 return;
@@ -452,14 +451,11 @@ namespace OpenSim.Region.CoreModules
452 451
453 private void GenWindPos() 452 private void GenWindPos()
454 { 453 {
455 if( m_activeWindPlugin != null ) 454 if (m_activeWindPlugin != null)
456 { 455 {
457 // Tell Wind Plugin to update it's wind data 456 // Tell Wind Plugin to update it's wind data
458 m_activeWindPlugin.WindUpdate(m_frame); 457 m_activeWindPlugin.WindUpdate(m_frame);
459 } 458 }
460 } 459 }
461
462
463
464 } 460 }
465} 461}