Revert "bug fix"

This reverts commit 43c3c5d0603601332c50851145ac527652681543.

Conflicts:
	huggle/core.cpp