1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-13 17:06:52 +00:00

fixed dice hints over different heights

This commit is contained in:
Zeno Rogue 2024-03-19 19:36:28 +01:00
parent 37b498203c
commit 86f5a040c9

View File

@ -2581,7 +2581,7 @@ void celldrawer::draw_monster_full() {
bool dm = drawMonster(V, c->type, c, moncol, asciicol); bool dm = drawMonster(V, c->type, c, moncol, asciicol);
if(dm) onradar = false; if(dm) onradar = false;
#if CAP_SHAPES #if CAP_SHAPES
if(isize(ptds) != q) { if(isize(ptds) != q && !(c == lmouseover_distant && isDie(c->monst))) {
if(WDIM == 2 && GDIM == 3 && abs(cgi.SLEV[sl] - cgi.FLOOR) > 1e-6) if(WDIM == 2 && GDIM == 3 && abs(cgi.SLEV[sl] - cgi.FLOOR) > 1e-6)
pushdown(c, q, V, cgi.SLEV[sl] - cgi.FLOOR, false, false); pushdown(c, q, V, cgi.SLEV[sl] - cgi.FLOOR, false, false);
if(GDIM ==2 && abs(geom3::factor_to_lev(zlevel(tC0(Vboat.T)))) > 1e-6) if(GDIM ==2 && abs(geom3::factor_to_lev(zlevel(tC0(Vboat.T)))) > 1e-6)