diff options
author | Charles Krinke | 2007-12-09 21:52:01 +0000 |
---|---|---|
committer | Charles Krinke | 2007-12-09 21:52:01 +0000 |
commit | 2742be6675f58af317f96fdcbfd8c907f051efdc (patch) | |
tree | f9a3ffc40c225eb243ae2d457f46fa5da54eeedd /OpenSim/Region/ScriptEngine | |
parent | From Justin Casey (IBM) (diff) | |
download | opensim-SC-2742be6675f58af317f96fdcbfd8c907f051efdc.zip opensim-SC-2742be6675f58af317f96fdcbfd8c907f051efdc.tar.gz opensim-SC-2742be6675f58af317f96fdcbfd8c907f051efdc.tar.bz2 opensim-SC-2742be6675f58af317f96fdcbfd8c907f051efdc.tar.xz |
"list" becomes "List" in LSL2CSConverter and (f,3) becomes (f,0) in llRound. Thanks to ChrisD/Gromit for pointing these out.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs index bbd6839..8155b44 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs | |||
@@ -47,7 +47,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
47 | dataTypes.Add("key", "string"); | 47 | dataTypes.Add("key", "string"); |
48 | dataTypes.Add("vector", "LSL_Types.Vector3"); | 48 | dataTypes.Add("vector", "LSL_Types.Vector3"); |
49 | dataTypes.Add("rotation", "LSL_Types.Quaternion"); | 49 | dataTypes.Add("rotation", "LSL_Types.Quaternion"); |
50 | dataTypes.Add("list", "list"); | 50 | dataTypes.Add("list", "List"); |
51 | dataTypes.Add("null", "null"); | 51 | dataTypes.Add("null", "null"); |
52 | } | 52 | } |
53 | 53 | ||
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs index e72f8f5..8f7a8ff 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs | |||
@@ -163,7 +163,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
163 | 163 | ||
164 | public int llRound(double f) | 164 | public int llRound(double f) |
165 | { | 165 | { |
166 | return (int) Math.Round(f, 3); | 166 | return (int) Math.Round(f, 0); |
167 | } | 167 | } |
168 | 168 | ||
169 | //This next group are vector operations involving squaring and square root. ckrinke | 169 | //This next group are vector operations involving squaring and square root. ckrinke |