aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common
diff options
context:
space:
mode:
authorMike Mazur2008-08-19 05:30:10 +0000
committerMike Mazur2008-08-19 05:30:10 +0000
commit225067d8b6f8faae47257858b4bf49ecb196b29f (patch)
treecd8cb81fd1adc4edc98636cecf709688d64f8abe /OpenSim/Region/ScriptEngine/Common
parentApply Godfrey's patch (originally in r5872) to Shared/LSL_Types.cs as well. (diff)
downloadopensim-SC_OLD-225067d8b6f8faae47257858b4bf49ecb196b29f.zip
opensim-SC_OLD-225067d8b6f8faae47257858b4bf49ecb196b29f.tar.gz
opensim-SC_OLD-225067d8b6f8faae47257858b4bf49ecb196b29f.tar.bz2
opensim-SC_OLD-225067d8b6f8faae47257858b4bf49ecb196b29f.tar.xz
Sync OpenSim/Region/ScriptEngine/{Common,Shared}/LSL_Types.cs.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_Types.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
index 3b317ac..581b820 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
@@ -1351,6 +1351,11 @@ namespace OpenSim.Region.ScriptEngine.Common
1351 value = (int)d; 1351 value = (int)d;
1352 } 1352 }
1353 1353
1354 public LSLInteger(string s)
1355 {
1356 value = (int)double.Parse(s);
1357 }
1358
1354 #endregion 1359 #endregion
1355 1360
1356 #region Operators 1361 #region Operators
@@ -1548,6 +1553,11 @@ namespace OpenSim.Region.ScriptEngine.Common
1548 this.value = d; 1553 this.value = d;
1549 } 1554 }
1550 1555
1556 public LSLFloat(string s)
1557 {
1558 this.value = double.Parse(s);
1559 }
1560
1551 #endregion 1561 #endregion
1552 1562
1553 #region Operators 1563 #region Operators