summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 7bad2fc919..7a4fdd3abe 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -79,6 +79,7 @@
#include "terrain.h"
#include "transform.h"
#include "hints.h"
+#include "version.h"
#include "view.h"
#include "xom.h"
@@ -545,6 +546,9 @@ bool is_unavailable_god(god_type god)
if (god == GOD_JIYVA && jiyva_is_dead())
return true;
+ if (god == GOD_GOZAG && Version::ReleaseType != VER_ALPHA)
+ return true;
+
// Don't allow Fedhas in ZotDef, as his invocations are duplicated, and
// passives thoroughly overpowered. Protection for plants, speed-up of
// oklobs, etc...
@@ -4525,6 +4529,9 @@ static bool _is_temple_god(god_type god)
case GOD_JIYVA:
return false;
+ case GOD_GOZAG:
+ return Version::ReleaseType == VER_ALPHA;
+
default:
return true;
}