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
1 changed files with 4 additions and 1 deletions

View File

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