diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 0773253..31ca3f3 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -3074,7 +3074,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3074 | { | 3074 | { |
3075 | return Convert.ToInt32(src.Data[index]); | 3075 | return Convert.ToInt32(src.Data[index]); |
3076 | } | 3076 | } |
3077 | catch (System.FormatException e) | 3077 | catch (FormatException e) |
3078 | { | 3078 | { |
3079 | return 0; | 3079 | return 0; |
3080 | } | 3080 | } |
@@ -3109,7 +3109,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3109 | { | 3109 | { |
3110 | return Convert.ToDouble(src.Data[index]); | 3110 | return Convert.ToDouble(src.Data[index]); |
3111 | } | 3111 | } |
3112 | catch (System.FormatException e) | 3112 | catch (FormatException e) |
3113 | { | 3113 | { |
3114 | return 0.0; | 3114 | return 0.0; |
3115 | } | 3115 | } |