apply UnitDef::myGravity to ground units (if non-zero)