1
0
Fork 0

Removed debug statement.

Added return statement.
This commit is contained in:
david 2003-04-05 00:30:38 +00:00
parent 64e81d1960
commit 807bcfb8e0

View file

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