Fix for issue #3614.

git-svn-id: http://svn.thedarkmod.com/svn/darkmod_src/trunk@5904 49c82d7f-2e2a-0410-a16f-ae8f201b507f