-Merge from trunk into rend32.

git-svn-id: http://odamex.net/svn/root/branches/rend32@3931 b0bcef46-2027-0410-bd56-ab726e9a1d04