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
This commit is contained in:
Melanie Thielker
2008-09-01 21:54:04 +00:00
parent b6bb5f944f
commit bfeb3881f2
2 changed files with 26 additions and 26 deletions

View File

@@ -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;