mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 08:36:24 +00:00
gui2/tgamestate_inspector: Show unit HP in recall list overview for consistency
This commit is contained in:
parent
677a4b54a1
commit
acc8208398
@ -373,7 +373,9 @@ public:
|
||||
|
||||
std::stringstream s;
|
||||
FOREACH(const AUTO& u, recall_list) {
|
||||
s << "id=\""<<u.id() << "\" ("<<u.type_id() << ")\nL"<<u.level()<<"; " << u.experience() <<"/" << u.max_experience()<< " xp "<< std::endl;
|
||||
s << "id=\""<<u.id() << "\" ("<<u.type_id() << ")\nL"<<u.level()<<"; "
|
||||
<< u.experience() << "/" << u.max_experience() << " xp; "
|
||||
<< u.hitpoints() << "/" << u.max_hitpoints() << " hp\n";
|
||||
FOREACH(const AUTO& str, u.get_traits_list() ) {
|
||||
s << "\t" << str<< std::endl;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user