mail[Wesnoth-commits] r43208 - /trunk/src/unit_types.hpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by alinktomine on June 06, 2010 - 20:27:
Author: alink
Date: Sun Jun  6 20:27:06 2010
New Revision: 43208

URL: http://svn.gna.org/viewcvs/wesnoth?rev=43208&view=rev
Log:
In attack_type class, make cfg_ private, as it should be.

Modified:
    trunk/src/unit_types.hpp

Modified: trunk/src/unit_types.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_types.hpp?rev=43208&r1=43207&r2=43208&view=diff
==============================================================================
--- trunk/src/unit_types.hpp (original)
+++ trunk/src/unit_types.hpp Sun Jun  6 20:27:06 2010
@@ -80,12 +80,12 @@
        bool special_affects_opponent(const config& cfg) const;
        bool special_affects_self(const config& cfg) const;
 
-       config cfg_;
        //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 game_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_;
        std::string id_;
        std::string type_;




Related Messages


Powered by MHonArc, Updated Sun Jun 06 20:40:09 2010