Update gravity.cpp

bag fix (暫定)