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

fixed the sky display in Yendorian

This commit is contained in:
Zeno Rogue 2019-05-05 17:36:36 +02:00
parent c3e8e513a9
commit e3023ba1f8

View File

@ -3310,7 +3310,7 @@ void setcolors(cell *c, color_t& wcol, color_t& fcol) {
else {
while(ed > clev + sr) ed -= 2;
while(ed < clev - sr) ed += 2;
fcol = gradient(fcol, 0x0000D0, clev-sr, edgeDepth(c), clev+sr);
fcol = gradient(fcol, 0x0000D0, clev-sr, ed, clev+sr);
}
if(c->wall == waTrunk) fcol = winf[waTrunk].color;