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

This commit is contained in:
Joseph C. Sible committed 2025-10-11 21:04:32 -04:00
1 parent f061dd6cf6
commit de6f84815d
3 files changed
+13 -5

No files matched your search

+1 -1
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);