mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 19:03:27 +00:00
Made ID of unit_callable be the same as unit_type_callable
This commit is contained in:
parent
1bb0610ad1
commit
9d290cb0ef
@ -159,9 +159,9 @@ variant unit_callable::get_value(const std::string& key) const
|
||||
} else if(key == "loc") {
|
||||
return variant(new location_callable(loc_));
|
||||
} else if(key == "id") {
|
||||
return variant(u_.id());
|
||||
} else if(key == "type") {
|
||||
return variant(u_.type_id());
|
||||
} else if(key == "type") {
|
||||
return variant(u_.id());
|
||||
} else if(key == "leader") {
|
||||
return variant(u_.can_recruit());
|
||||
} else if(key == "undead") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user