1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

in canvas 2.5D, no ceiling if canvas_default_wall == waInvisibleFloor

This commit is contained in:
Zeno Rogue 2021-03-31 14:35:43 +02:00
parent 0881f33fc2
commit 75961e6543

View File

@ -3946,7 +3946,6 @@ EX int ceiling_category(cell *c) {
case laEFire: case laEFire:
case laEEarth: case laEEarth:
case laElementalWall: case laElementalWall:
case laCanvas:
case laTrollheim: case laTrollheim:
case laDungeon: case laDungeon:
case laBull: case laBull:
@ -3959,6 +3958,10 @@ EX int ceiling_category(cell *c) {
case laEclectic: case laEclectic:
return 3; return 3;
case laCanvas:
if(canvas_default_wall == waInvisibleFloor) return 0;
return 3;
case laPalace: case laPalace:
case laPrincessQuest: case laPrincessQuest:
default: default: