fix -Wfloat-equal warning in src/CargoBody.cpp