If you want the default gravity, you should leave this assignment out altogether. The default is -9.81 and is set in cEntity's constructor.