From 3345999180b6bd9151f528eb291198e46c634f1f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 10 Jul 2018 21:55:54 +0200 Subject: [PATCH] gp:: Warped Coast and Crystal World do not work in a4 --- graph.cpp | 1 + landlock.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/graph.cpp b/graph.cpp index 4893b548..ac57ee3c 100644 --- a/graph.cpp +++ b/graph.cpp @@ -3079,6 +3079,7 @@ bool has_nice_dual() { if(!nonbitrunc) return true; if((S7 & 1) == 0) return true; if(!gp::on) return false; + if(a4) return false; return (gp::param.first + gp::param.second * 2) % 3 == 0; } diff --git a/landlock.cpp b/landlock.cpp index c6f064d9..4eec6f6a 100644 --- a/landlock.cpp +++ b/landlock.cpp @@ -1156,6 +1156,9 @@ land_validity_t& land_validity(eLand l) { if(l == laWhirlpool && a4) return dont_work; + if(isWarped(l) && a4 && gp::on) + return dont_work; + // equidistant-based lands if(isEquidLand(l)) { // no equidistants supported in chaos mode