Added a nil check for maxvelocity in case someone puts a special nano turret in a special map and does not bother to test with ZK.
Nicer parenthesis.