diff options
author | Dr Scofield | 2008-11-12 11:02:55 +0000 |
---|---|---|
committer | Dr Scofield | 2008-11-12 11:02:55 +0000 |
commit | 4b5e09a36b3e9891ba3c2c616621a2c798cf255e (patch) | |
tree | 8c7e3f4c991b896261f99e371374120d6242d583 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |
parent | Update svn properties. (diff) | |
download | opensim-SC_OLD-4b5e09a36b3e9891ba3c2c616621a2c798cf255e.zip opensim-SC_OLD-4b5e09a36b3e9891ba3c2c616621a2c798cf255e.tar.gz opensim-SC_OLD-4b5e09a36b3e9891ba3c2c616621a2c798cf255e.tar.bz2 opensim-SC_OLD-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 '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
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 |