remove obsolete and now unused data and functions...
...for the keys image_healing and image_halo_healing
This commit is contained in:
parent
8d9690e43c
commit
b118ba9cbc
2 changed files with 1 additions and 14 deletions
12
src/unit.cpp
12
src/unit.cpp
|
@ -2596,18 +2596,6 @@ const std::string& unit::image_fighting(attack_type::RANGE range) const
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
const std::string& unit::image_healing() const
|
||||
{
|
||||
const std::string& val = cfg_["image_healing"];
|
||||
if(val.empty()) {
|
||||
return absolute_image();
|
||||
} else {
|
||||
return val;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const defensive_animation* unit::defend_animation(const display& disp, const gamemap::location& loc,
|
||||
fighting_animation::hit_type hits, const attack_type* attack,const attack_type* secondary_attack, int swing_num,int damage) const
|
||||
{
|
||||
|
|
|
@ -244,8 +244,7 @@ class unit
|
|||
const std::string& absolute_image() const { return cfg_["image"]; }
|
||||
const std::string& image_halo() const { return cfg_["halo"]; }
|
||||
const std::string& image_fighting(attack_type::RANGE range) const;
|
||||
const std::string& image_healing() const;
|
||||
const std::string& image_halo_healing() const { return cfg_["image_halo_healing"]; }
|
||||
|
||||
const std::string& get_hit_sound() const { return cfg_["get_hit_sound"]; }
|
||||
const std::string& die_sound() const { return cfg_["die_sound"]; }
|
||||
const std::string& image_ellipse() const { return cfg_["ellipse"]; }
|
||||
|
|
Loading…
Add table
Reference in a new issue