diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ | |||
28 | using System; | 28 | using System; |
29 | using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3; | 29 | using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3; |
30 | using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion; | 30 | using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion; |
31 | using LSLInteger = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger; | ||
31 | 32 | ||
32 | namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | 33 | namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase |
33 | { | 34 | { |
34 | public partial class ScriptBaseClass : MarshalByRefObject | 35 | public partial class ScriptBaseClass : MarshalByRefObject |
35 | { | 36 | { |
36 | // LSL CONSTANTS | 37 | // LSL CONSTANTS |
37 | public const int TRUE = 1; | 38 | public LSLInteger TRUE = new LSLInteger(1); |
38 | public const int FALSE = 0; | 39 | public LSLInteger FALSE = new LSLInteger(0); |
39 | 40 | ||
40 | public const int STATUS_PHYSICS = 1; | 41 | public const int STATUS_PHYSICS = 1; |
41 | public const int STATUS_ROTATE_X = 2; | 42 | public const int STATUS_ROTATE_X = 2; |