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/DotNetEngine/Compiler/Server_API | |
parent | From Justin Casey (IBM) (diff) | |
download | opensim-SC_OLD-2742be6675f58af317f96fdcbfd8c907f051efdc.zip opensim-SC_OLD-2742be6675f58af317f96fdcbfd8c907f051efdc.tar.gz opensim-SC_OLD-2742be6675f58af317f96fdcbfd8c907f051efdc.tar.bz2 opensim-SC_OLD-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 '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |