aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorCharles Krinke2008-07-05 16:46:03 +0000
committerCharles Krinke2008-07-05 16:46:03 +0000
commitfdbf0c39d28cb37dda0cb07c17d461fab68b554c (patch)
treeda75ac14cc86f518f9166c734e2ddbb0819ca129 /OpenSim/Region/ScriptEngine
parentchanges prompting of create user console command to only ask for unspecified ... (diff)
downloadopensim-SC_OLD-fdbf0c39d28cb37dda0cb07c17d461fab68b554c.zip
opensim-SC_OLD-fdbf0c39d28cb37dda0cb07c17d461fab68b554c.tar.gz
opensim-SC_OLD-fdbf0c39d28cb37dda0cb07c17d461fab68b554c.tar.bz2
opensim-SC_OLD-fdbf0c39d28cb37dda0cb07c17d461fab68b554c.tar.xz
Add implementation of llGetTimeOfDay()
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 5016cd5..2d858dc 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -1542,8 +1542,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1542 public double llGetTimeOfDay() 1542 public double llGetTimeOfDay()
1543 { 1543 {
1544 m_host.AddScriptLPS(1); 1544 m_host.AddScriptLPS(1);
1545 NotImplemented("llGetTimeOfDay"); 1545 return (double)(((DateTime.Now.TimeOfDay.Milliseconds / 1000) % (3600 * 4)) * World.TimeDilation);
1546 return 0;
1547 } 1546 }
1548 1547
1549 public double llGetWallclock() 1548 public double llGetWallclock()