in 3D, rosebushes now blink if they are close to going off

This commit is contained in:
Zeno Rogue 2024-03-24 20:03:02 +01:00
parent 445c240c79
commit 89563ebde9
1 changed files with 1 additions and 0 deletions

View File

@ -4029,6 +4029,7 @@ EX int colorhash(color_t i) {
}
EX bool isWall3(cell *c, color_t& wcol) {
if(c->wall == waRose) { wcol = gradient(0, wcol, -5 - 5 * (7-rosephase), sintick(50 * (8 - rosephase)), 1); }
if(isWall(c)) return true;
if(c->wall == waChasm && c->land == laMemory && (anyshiftclick || !(cgflags & qFRACTAL))) { wcol = 0x606000; return true; }
if(c->wall == waInvisibleFloor) return false;