Fix the broken llSetTimerEvent implementation (sec == 0 was not
possible anymore).
0.6.1-post-fixes
Dr Scofield 2008-11-12 11:02:55 +00:00
parent 0e21182a09
commit 4b5e09a36b
1 changed files with 1 additions and 1 deletions

View File

@ -2467,7 +2467,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public void llSetTimerEvent(double sec) public void llSetTimerEvent(double sec)
{ {
if (sec < m_MinTimerInterval) if (sec != 0.0 && sec < m_MinTimerInterval)
sec = m_MinTimerInterval; sec = m_MinTimerInterval;
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
// Setting timer repeat // Setting timer repeat