aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorTeravus Ovares2008-01-04 00:40:19 +0000
committerTeravus Ovares2008-01-04 00:40:19 +0000
commit42e129cb33e3d1b3d229cc79d52042e8f7d6a4dc (patch)
treebfb14d66772b5d713117bb747d4bb88b3000fd62 /OpenSim
parent* Made covenant changes made in the estate tools persist across sim restarts. (diff)
downloadopensim-SC_OLD-42e129cb33e3d1b3d229cc79d52042e8f7d6a4dc.zip
opensim-SC_OLD-42e129cb33e3d1b3d229cc79d52042e8f7d6a4dc.tar.gz
opensim-SC_OLD-42e129cb33e3d1b3d229cc79d52042e8f7d6a4dc.tar.bz2
opensim-SC_OLD-42e129cb33e3d1b3d229cc79d52042e8f7d6a4dc.tar.xz
* Fixing a the time clock issue on Sim Restart messages. See Mantis 287
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Environment/EstateManager.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/EstateManager.cs b/OpenSim/Region/Environment/EstateManager.cs
index 06c2750..1367cb3 100644
--- a/OpenSim/Region/Environment/EstateManager.cs
+++ b/OpenSim/Region/Environment/EstateManager.cs
@@ -477,9 +477,10 @@ namespace OpenSim.Region.Environment
477 foreach (EstateOwnerMessagePacket.ParamListBlock block in packet.ParamList) 477 foreach (EstateOwnerMessagePacket.ParamListBlock block in packet.ParamList)
478 { 478 {
479 float timeSeconds = 0; 479 float timeSeconds = 0;
480 timeSeconds = BitConverter.ToInt32(block.Parameter, 1); 480 Helpers.TryParse(Helpers.FieldToUTF8String(block.Parameter), out timeSeconds);
481 timeSeconds = (int) ((timeSeconds/100) - 3); 481 timeSeconds = (int)timeSeconds;
482 m_scene.Restart(timeSeconds); 482 m_scene.Restart(timeSeconds);
483
483 } 484 }
484 } 485 }
485 486