pcedit fix title of edit spells dialogs

This commit is contained in:
2025-05-27 10:36:49 -05:00
parent 8aae115665
commit 961a5b3e1c
2 changed files with 4 additions and 3 deletions

View File

@@ -62,6 +62,7 @@ static void put_pc_spells(cDialog& me, short store_trait_mode) {
else cur.setState(led_off);
}
me["title"].replaceText("{{type}}", store_trait_mode == 0 ? "Mage" : "Priest");
me["who"].setText(univ.party[which_pc_displayed].name.c_str());
}