1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-21 04:19:43 +00:00

Fix freeze if Ancient Jewelry ends up on a tile with a large landparam

This commit is contained in:
Joseph C. Sible
2025-10-11 21:04:32 -04:00
parent f061dd6cf6
commit de6f84815d
3 changed files with 13 additions and 5 deletions

View File

@@ -1084,7 +1084,7 @@ EX void describeMouseover() {
if(c->item && !itemHiddenFromSight(c)) {
out += ", ";
out += XLAT1(iinf[c->item].name);
if(c->item == itBarrow) out += " (x" + its(c->landparam) + ")";
if(c->item == itBarrow) out += " (x" + its(barrowCount(c)) + ")";
#if CAP_COMPLEX2
if(c->land == laHunting) {
int i = ambush::size(c, c->item);