1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-12 02:10:34 +00:00

Merge pull request #276 from jruderman/slime_color_in_brown

Fix color of slime on Brown Island
This commit is contained in:
Zeno Rogue 2021-08-04 19:10:46 +02:00 committed by GitHub
commit 69e5356e8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,15 +189,8 @@ void celldrawer::setcolors() {
#if CAP_COMPLEX2
case laBrownian: {
fcol = wcol =
/*
c->landparam == 0 ? 0x0000F0 :
c->landparam < level ? gradient(0x002000, 0xFFFFFF, 1, c->landparam, level-1) :
c->landparam < 2 * level ? 0xFFFF80 :
c->landparam < 3 * level ? 0xFF8000 :
0xC00000; */
c->landparam == 0 ? 0x0000F0 : brownian::get_color(c->landparam);
if (c->wall == waNone)
fcol = wcol = brownian::get_color(c->landparam);
break;
}
#endif