mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
on-petrify crash should be fixed
This commit is contained in:
parent
0ff27cc5b8
commit
aa297504a8
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user