1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-24 09:24:49 +00:00

ru:: magic fountain respawns enemies and refills potions

This commit is contained in:
Zeno Rogue
2025-05-05 10:52:58 +02:00
parent 5a761c43c5
commit 129d3bbe89
7 changed files with 38 additions and 13 deletions

View File

@@ -136,6 +136,9 @@ void compute_scrm() {
void render_room_walls(room *r) {
initquickqueue();
bool af = should_apply_fov();
walls[wFountain].color = (r == fountain_room) ? 0xA0A0FFFF : 0x8080C0FF;
for(int y=0; y<room_y; y++)
for(int x=0; x<room_x; x++) {
if(af && !r->fov[y][x]) continue;