Assign value to 'vector' to fix building under xbuild and Monodevelop

0.8.0.3
BlueWall 2014-04-30 15:45:00 -04:00
parent 7bb673a854
commit 44f533d95a
1 changed files with 1 additions and 0 deletions

View File

@ -284,6 +284,7 @@ namespace OpenSim.Framework.Console
// We don't use Vector2.TryParse() for now because for some reason it expects an input with 3 components // We don't use Vector2.TryParse() for now because for some reason it expects an input with 3 components
// rather than 2. // rather than 2.
string cookedVector = CookVector(rawConsoleVector, 2, blankComponentFunc); string cookedVector = CookVector(rawConsoleVector, 2, blankComponentFunc);
vector = new Vector2(0.0f);
if (cookedVector == null) if (cookedVector == null)
{ {