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.
0.7.4-extended
Justin Clark-Casey (justincc) 2012-10-11 00:05:34 +01:00
parent 6eb260d4eb
commit 0afc43eed7
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))
{
m_console.OutputFormat("Error: Start vector {0} does not have a valid format", rawConsoleStartVector);
endVector = Vector3.Zero;
return false;
}