mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-08 03:12:23 +00:00
on-petrify crash should be fixed
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user