Made ID of unit_callable be the same as unit_type_callable

This commit is contained in:
Bartek Waresiak 2008-07-31 07:30:22 +00:00
parent 1bb0610ad1
commit 9d290cb0ef

View File

@ -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") {