From cf87a9c5fe0d7caba775d5f3947edbb1e4eac9fc Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Thu, 3 Jul 2008 23:06:38 +0000 Subject: Mantis#1660. Thank you, kindly, Melanie for a patch that: Attached patch changes TRUE and FALSE to be LSLIntegers. --- OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index c086f22..f02e970 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs @@ -28,14 +28,15 @@ using System; using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3; using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion; +using LSLInteger = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger; namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase { public partial class ScriptBaseClass : MarshalByRefObject { // LSL CONSTANTS - public const int TRUE = 1; - public const int FALSE = 0; + public LSLInteger TRUE = new LSLInteger(1); + public LSLInteger FALSE = new LSLInteger(0); public const int STATUS_PHYSICS = 1; public const int STATUS_ROTATE_X = 2; -- cgit v1.1