Assign endVector before control leaves ObjectCommandsModule.TryParseVectorRange() in order to fix mono 2.4.3 compile failure.

This doesn't fail the compile on mono 2.10.8.
connector_plugin
Justin Clark-Casey (justincc) 2012-10-11 00:05:34 +01:00
parent efd9791506
commit b768c35f6f
1 changed files with 2 additions and 0 deletions

View File

@ -677,6 +677,8 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
if (!ConsoleUtil.TryParseConsoleMinVector(rawConsoleStartVector, out startVector)) if (!ConsoleUtil.TryParseConsoleMinVector(rawConsoleStartVector, out startVector))
{ {
m_console.OutputFormat("Error: Start vector {0} does not have a valid format", rawConsoleStartVector); m_console.OutputFormat("Error: Start vector {0} does not have a valid format", rawConsoleStartVector);
endVector = Vector3.Zero;
return false; return false;
} }