Fix compiling on linux
Fixed player locked on map start

In SP, when a map finished with a locked player (e.g. t1_rail) the
player is also locked (can't be moved) on the next map. The lock state
is also saved in the save game, so reloading the map does not fix it.
Fix some compiler warnings
Merge remote-tracking branch 'TheRikke/master'

Conflicts:
	code/zlib32/deflate.cpp