]> git.mxchange.org Git - flightgear.git/commitdiff
Removed debug statement.
authordavid <david>
Sat, 5 Apr 2003 00:30:38 +0000 (00:30 +0000)
committerdavid <david>
Sat, 5 Apr 2003 00:30:38 +0000 (00:30 +0000)
Added return statement.

src/Main/fg_commands.cxx

index cda99467a80d063a1d7117195e6674500fae41f8..389c28fc64c270b6706eaa722a88feeffab0ff27 100644 (file)
@@ -699,7 +699,7 @@ do_property_randomize (const SGPropertyNode * arg)
     double min = arg->getDoubleValue("min", DBL_MIN);
     double max = arg->getDoubleValue("max", DBL_MAX);
     prop->setDoubleValue(sg_random() * (max - min) + min);
-    std::cerr << "Random value is " << prop->getDoubleValue() << std::endl;
+    return true;
 }