From bfeb3881f2f5ea52b38864bcc679390623613da0 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 1 Sep 2008 21:54:04 +0000 Subject: Another attempt at fixing XEngine llSetPrimitiveParams: Make it accept LSLIntegers in lists, and attempt to address the scope issue on TRUE and FALSE with readonly static linkage --- OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index 739e168..e3b81b7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs @@ -35,8 +35,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase public partial class ScriptBaseClass : MarshalByRefObject { // LSL CONSTANTS - public LSLInteger TRUE = new LSLInteger(1); - public LSLInteger FALSE = new LSLInteger(0); + public static readonly LSLInteger TRUE = new LSLInteger(1); + public static readonly LSLInteger FALSE = new LSLInteger(0); public const int STATUS_PHYSICS = 1; public const int STATUS_ROTATE_X = 2; -- cgit v1.1