aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/CSCodeGenerator.cs4
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs4
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/CSCodeGenerator.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/CSCodeGenerator.cs
index b16577d..c4b0fd4 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/CSCodeGenerator.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/CSCodeGenerator.cs
@@ -730,11 +730,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
730 c.Value = c.Value.Insert(dotIndex, "0"); 730 c.Value = c.Value.Insert(dotIndex, "0");
731 c.Value = "new LSL_Types.LSLFloat("+c.Value+")"; 731 c.Value = "new LSL_Types.LSLFloat("+c.Value+")";
732 } 732 }
733 else if("LSL_Types.LSLInteger" == c.Type) 733 else if ("LSL_Types.LSLInteger" == c.Type)
734 { 734 {
735 c.Value = "new LSL_Types.LSLInteger("+c.Value+")"; 735 c.Value = "new LSL_Types.LSLInteger("+c.Value+")";
736 } 736 }
737 else if("LSL_Types.LSLString" == c.Type) 737 else if ("LSL_Types.LSLString" == c.Type)
738 { 738 {
739 c.Value = "new LSL_Types.LSLString(\""+c.Value+"\")"; 739 c.Value = "new LSL_Types.LSLString(\""+c.Value+"\")";
740 } 740 }
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs
index 5a98f4d..86d6188 100644
--- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs
@@ -730,11 +730,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
730 c.Value = c.Value.Insert(dotIndex, "0"); 730 c.Value = c.Value.Insert(dotIndex, "0");
731 c.Value = "new LSL_Types.LSLFloat("+c.Value+")"; 731 c.Value = "new LSL_Types.LSLFloat("+c.Value+")";
732 } 732 }
733 else if("LSL_Types.LSLInteger" == c.Type) 733 else if ("LSL_Types.LSLInteger" == c.Type)
734 { 734 {
735 c.Value = "new LSL_Types.LSLInteger("+c.Value+")"; 735 c.Value = "new LSL_Types.LSLInteger("+c.Value+")";
736 } 736 }
737 else if("LSL_Types.LSLString" == c.Type) 737 else if ("LSL_Types.LSLString" == c.Type)
738 { 738 {
739 c.Value = "new LSL_Types.LSLString(\""+c.Value+"\")"; 739 c.Value = "new LSL_Types.LSLString(\""+c.Value+"\")";
740 } 740 }