v3.3.1: fixed hero HT not being updated on entering/leaving tester area
This commit is contained in:
@@ -85,6 +85,7 @@ public class EscapeCrystal extends Item {
|
|||||||
}
|
}
|
||||||
|
|
||||||
restoreHeroBelongings(hero);
|
restoreHeroBelongings(hero);
|
||||||
|
hero.updateHT( false );
|
||||||
|
|
||||||
Level.beforeTransition();
|
Level.beforeTransition();
|
||||||
InterlevelScene.curTransition = new LevelTransition(Dungeon.level,
|
InterlevelScene.curTransition = new LevelTransition(Dungeon.level,
|
||||||
|
|||||||
@@ -182,8 +182,9 @@ public class CityLevel extends RegularLevel {
|
|||||||
crystal.storeHeroBelongings(Dungeon.hero);
|
crystal.storeHeroBelongings(Dungeon.hero);
|
||||||
crystal.collect();
|
crystal.collect();
|
||||||
}
|
}
|
||||||
Dungeon.hero.belongings.armor = new ClothArmor();
|
hero.belongings.armor = new ClothArmor();
|
||||||
Dungeon.hero.belongings.armor.identify();
|
hero.belongings.armor.identify();
|
||||||
|
hero.updateHT( false );
|
||||||
CityLevel.super.activateTransition(hero, transition);
|
CityLevel.super.activateTransition(hero, transition);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user