mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 13:47:56 +00:00
add a comment
This commit is contained in:
parent
97fc1ad96a
commit
c9a9d3e4d4
@ -212,6 +212,9 @@ public:
|
|||||||
int minimum_recruit_price() const;
|
int minimum_recruit_price() const;
|
||||||
const std::string& last_recruit() const { return last_recruit_; }
|
const std::string& last_recruit() const { return last_recruit_; }
|
||||||
void last_recruit(const std::string & u_type) { last_recruit_ = u_type; }
|
void last_recruit(const std::string & u_type) { last_recruit_ = u_type; }
|
||||||
|
// TODO: This attribute is never used for user messages. (currently
|
||||||
|
// current_player is used there). It's only used for debug messages
|
||||||
|
// and it's accessible to wml via [store_side]. Do we really need it?
|
||||||
const std::string& name() const
|
const std::string& name() const
|
||||||
{ return info_.name; }
|
{ return info_.name; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user