diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs index 4bdb0ba..14ee319 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | |||
@@ -1157,10 +1157,10 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1157 | return new LSLString(d); | 1157 | return new LSLString(d); |
1158 | } | 1158 | } |
1159 | 1159 | ||
1160 | public static implicit operator Vector3(LSLString s) | 1160 | public static implicit operator Vector3(LSLString s) |
1161 | { | 1161 | { |
1162 | return new Vector3(s.m_string); | 1162 | return new Vector3(s.m_string); |
1163 | } | 1163 | } |
1164 | 1164 | ||
1165 | #endregion | 1165 | #endregion |
1166 | 1166 | ||
@@ -1287,15 +1287,15 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1287 | return (double)i.value; | 1287 | return (double)i.value; |
1288 | } | 1288 | } |
1289 | 1289 | ||
1290 | public static bool operator true(LSLInteger i) | 1290 | public static bool operator true(LSLInteger i) |
1291 | { | 1291 | { |
1292 | return i.value != 0; | 1292 | return i.value != 0; |
1293 | } | 1293 | } |
1294 | 1294 | ||
1295 | public static bool operator false(LSLInteger i) | 1295 | public static bool operator false(LSLInteger i) |
1296 | { | 1296 | { |
1297 | return i.value == 0; | 1297 | return i.value == 0; |
1298 | } | 1298 | } |
1299 | 1299 | ||
1300 | #region Overriders | 1300 | #region Overriders |
1301 | 1301 | ||