|
cg_predict.cThis function is called from the client and predicts where the client will be located based on velocity and origin. It calls the Pmove function found in "game/g_cmds.c". The prediction movement had to be turned off in order to control the location of the clients connected to the server. It was turned off by using a variable stored in "cg_t" to not call Pmove, when a client was connected to the pseudocamera. |