aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/Console/ConsoleUtil.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/ConsoleUtil.cs b/OpenSim/Framework/Console/ConsoleUtil.cs
index 3711cb1..744f652 100644
--- a/OpenSim/Framework/Console/ConsoleUtil.cs
+++ b/OpenSim/Framework/Console/ConsoleUtil.cs
@@ -284,10 +284,11 @@ namespace OpenSim.Framework.Console
284 // We don't use Vector2.TryParse() for now because for some reason it expects an input with 3 components 284 // We don't use Vector2.TryParse() for now because for some reason it expects an input with 3 components
285 // rather than 2. 285 // rather than 2.
286 string cookedVector = CookVector(rawConsoleVector, 2, blankComponentFunc); 286 string cookedVector = CookVector(rawConsoleVector, 2, blankComponentFunc);
287 vector = new Vector2(0.0f);
288 287
289 if (cookedVector == null) 288 if (cookedVector == null)
290 { 289 {
290 vector = Vector2.Zero;
291
291 return false; 292 return false;
292 } 293 }
293 else 294 else