1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00

top_land no longer computes celldist if no top_land is used

This commit is contained in:
Zeno Rogue 2019-08-02 18:54:32 +02:00
parent cbce59d5d2
commit 05a01c280e

View File

@ -1248,8 +1248,8 @@ void buildBigStuff(cell *c, cell *from) {
// buildgreatwalls
if(celldist(c) < 3 && !GOLDBERG) {
if(top_land && c == cwt.at->master->move(3)->c7) {
if(top_land && celldist(c) < 3 && !GOLDBERG) {
if(c == cwt.at->master->move(3)->c7) {
buildBarrierStrong(c, 6, true, top_land);
}
}