no more nul reference in incompatible geometries without top_land

This commit is contained in:
Zeno Rogue 2018-04-03 23:36:37 +02:00
parent 229f717678
commit 857c8c41cb
1 changed files with 1 additions and 1 deletions

View File

@ -986,7 +986,7 @@ void buildBigStuff(cell *c, cell *from) {
// buildgreatwalls
if(celldist(c) < 3) {
if(c == cwt.c->master->move[3]->c7 && top_land) {
if(top_land && c == cwt.c->master->move[3]->c7) {
buildBarrierStrong(c, 6, true, top_land);
}
}