Moved colour code to q_shared.c
Fixed some warnings
Fixed typo in netcode resulting in weird entity positions/trajectories