1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-20 12:58:06 +00:00

Fixed some bugs with Alchemist's land copying

This commit is contained in:
Zeno Rogue
2017-08-18 02:07:56 +02:00
parent e77dfa7b56
commit 3b154d5038
2 changed files with 14 additions and 4 deletions

View File

@@ -2325,8 +2325,6 @@ void setcolors(cell *c, int& wcol, int &fcol) {
case laAlchemist:
fcol = 0x202020;
if(c->item && !(conformal::includeHistory && eq(c->aitmp, sval)))
fcol = wcol = iinf[c->item].color;
break;
case laReptile:
fcol = reptilecolor(c);
@@ -2549,9 +2547,16 @@ void setcolors(cell *c, int& wcol, int &fcol) {
fcol = wcol = winf[c->wall].color; */
// floors become fcol
if(c->wall == waSulphur || c->wall == waSulphurC || isAlch(c) || c->wall == waPlatform)
if(c->wall == waSulphur || c->wall == waSulphurC || c->wall == waPlatform)
fcol = wcol;
if(isAlch(c)) {
if(c->item && !(conformal::includeHistory && eq(c->aitmp, sval)))
fcol = wcol = iinf[c->item].color;
else
fcol = wcol;
}
if(c->wall == waDeadTroll2 || c->wall == waPetrified) {
eMonster m = eMonster(c->wparam);
if(c->wall == waPetrified)