Fixed problem in 3D batch mode tickstep
Fixed compiler warning: implicit declaration