diff --git a/src/unit_types.hpp b/src/unit_types.hpp index fe0a1b87f8b..6e9a894b964 100644 --- a/src/unit_types.hpp +++ b/src/unit_types.hpp @@ -74,10 +74,6 @@ public: bool special_affects_opponent(const config& cfg) const; bool special_affects_self(const config& cfg) const; - //this function returns a random animation out of the possible - //animations for this attack. It will not return the same attack - //each time. - const unit_animation* animation(const display& disp, const map_location& loc,const unit* my_unit,const unit_animation::hit_type hit,const attack_type* secondary_attack,int swing_num,int damage) const; private: config cfg_; t_string description_;