v3.3.1: fixed hero HT not being updated on entering/leaving tester area

This commit is contained in:
Evan Debenham
2025-12-08 12:36:29 -05:00
parent 5541d17f7b
commit 509f14c424
2 changed files with 4 additions and 2 deletions

View File

@@ -85,6 +85,7 @@ public class EscapeCrystal extends Item {
}
restoreHeroBelongings(hero);
hero.updateHT( false );
Level.beforeTransition();
InterlevelScene.curTransition = new LevelTransition(Dungeon.level,

View File

@@ -182,8 +182,9 @@ public class CityLevel extends RegularLevel {
crystal.storeHeroBelongings(Dungeon.hero);
crystal.collect();
}
Dungeon.hero.belongings.armor = new ClothArmor();
Dungeon.hero.belongings.armor.identify();
hero.belongings.armor = new ClothArmor();
hero.belongings.armor.identify();
hero.updateHT( false );
CityLevel.super.activateTransition(hero, transition);
}
}