Some compile and logical fixes for Hammer of the Gods.