mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
selecting a (horo)cyclic/equidistant-based land in the Experiments in Geometry while in standard geometry works now
This commit is contained in:
parent
eca59e79fa
commit
c4469d9185
@ -1110,7 +1110,7 @@ void set_euland3(cell *c, int co10, int co11, int alt, int hash) {
|
||||
|
||||
bool quickfind(eLand l) {
|
||||
if(l == cheatdest) return true;
|
||||
if(l == specialland && (weirdhyperbolic || specialland != laIce)) return true;
|
||||
if(l == specialland && (weirdhyperbolic || specialland != laIce || cheater)) return true;
|
||||
#if CAP_TOUR
|
||||
if(tour::on && tour::quickfind(l)) return true;
|
||||
#endif
|
||||
|
@ -305,7 +305,7 @@ eLand getNewLand(eLand old) {
|
||||
#endif
|
||||
|
||||
if(tactic::on && !(tactic::trailer && old == specialland)) return specialland;
|
||||
if(weirdhyperbolic && specialland != old && specialland != laCrossroads4 && !chaosmode && old != laBarrier) return specialland;
|
||||
if((weirdhyperbolic || cheater) && specialland != old && specialland != laCrossroads4 && specialland != laIce && !chaosmode && old != laBarrier) return specialland;
|
||||
|
||||
if(yendor::on && (yendor::clev().flags & YF_WALLS)) {
|
||||
if(old != yendor::clev().l) return yendor::clev().l;
|
||||
|
@ -150,6 +150,10 @@ void initgame() {
|
||||
|
||||
setdist(cwt.at, BARLEV, NULL);
|
||||
|
||||
if(!use_special_land) {
|
||||
if(firstland != (princess::challenge ? laPalace : laIce)) cheater++;
|
||||
}
|
||||
|
||||
if((tactic::on || yendor::on || peace::on) && isCyclic(firstland)) {
|
||||
anthraxBonus = items[itHolyGrail];
|
||||
cwt.at->move(0)->land = firstland;
|
||||
|
Loading…
Reference in New Issue
Block a user