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

on-petrify crash should be fixed

This commit is contained in:
Zeno Rogue 2019-11-27 22:42:44 +01:00
parent 0ff27cc5b8
commit aa297504a8

View File

@ -467,7 +467,7 @@ void celldrawer::setcolors() {
break;
case waDeadTroll2: case waPetrifiedBridge: case waPetrified: {
eMonster m = eMonster(c->wparam);
eMonster m = eMonster((unsigned char)c->wparam);
if(c->wall == waPetrified || c->wall == waPetrifiedBridge)
wcol = gradient(wcol, minf[m].color, 0, .2, 1);
if(c->wall == waPetrified || isTroll(m)) if(!(m == moForestTroll && c->land == laOvergrown))