aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorDr Scofield2008-11-12 11:02:55 +0000
committerDr Scofield2008-11-12 11:02:55 +0000
commit4b5e09a36b3e9891ba3c2c616621a2c798cf255e (patch)
tree8c7e3f4c991b896261f99e371374120d6242d583 /OpenSim/Region/ScriptEngine
parentUpdate svn properties. (diff)
downloadopensim-SC-4b5e09a36b3e9891ba3c2c616621a2c798cf255e.zip
opensim-SC-4b5e09a36b3e9891ba3c2c616621a2c798cf255e.tar.gz
opensim-SC-4b5e09a36b3e9891ba3c2c616621a2c798cf255e.tar.bz2
opensim-SC-4b5e09a36b3e9891ba3c2c616621a2c798cf255e.tar.xz
From: Alan Webb (alan_webb@us.ibm.com)
Fix the broken llSetTimerEvent implementation (sec == 0 was not possible anymore).
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 09d3d79..ab7b710 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2467,7 +2467,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2467 2467
2468 public void llSetTimerEvent(double sec) 2468 public void llSetTimerEvent(double sec)
2469 { 2469 {
2470 if (sec < m_MinTimerInterval) 2470 if (sec != 0.0 && sec < m_MinTimerInterval)
2471 sec = m_MinTimerInterval; 2471 sec = m_MinTimerInterval;
2472 m_host.AddScriptLPS(1); 2472 m_host.AddScriptLPS(1);
2473 // Setting timer repeat 2473 // Setting timer repeat