mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 09:56:46 +00:00
Removed some ugly code.
This commit is contained in:
parent
614e35c657
commit
313be8ab3f
@ -1214,7 +1214,7 @@ bool unit_type_data::unit_type_map_wrapper::unit_type_exists(const std::string&
|
||||
|
||||
unit_type_map::iterator itor = types_.find(key);
|
||||
|
||||
return ((itor == types_.end()) ? false : true);
|
||||
return itor != types_.end();
|
||||
}
|
||||
|
||||
unit_type_data::unit_type_map::const_iterator unit_type_data::unit_type_map_wrapper::find_unit_type(const std::string& key, unit_type::BUILD_STATUS status) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user