Update catapult.cpp