Fixed all the warnings and errors.

Release build of game set up for engine proof.
Weapon length is now a float.