Author: alink
Date: Wed Apr 15 22:18:04 2009
New Revision: 34949
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34949&view=rev
Log:
remove dead member (supposed to be done for 1.3.6, I think it's time now)
Modified:
trunk/src/unit_types.cpp
trunk/src/unit_types.hpp
Modified: trunk/src/unit_types.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_types.cpp?rev=34949&r1=34948&r2=34949&view=diff
==============================================================================
--- trunk/src/unit_types.cpp (original)
+++ trunk/src/unit_types.cpp Wed Apr 15 22:18:04 2009
@@ -50,7 +50,6 @@
teams_(NULL),
other_attack_(NULL),
cfg_(cfg),
- animation_(),
description_(cfg["description"]),
id_(cfg["name"]),
type_(cfg["type"]),
Modified: trunk/src/unit_types.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_types.hpp?rev=34949&r1=34948&r2=34949&view=diff
==============================================================================
--- trunk/src/unit_types.hpp (original)
+++ trunk/src/unit_types.hpp Wed Apr 15 22:18:04 2009
@@ -91,9 +91,6 @@
//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;
- // made public to ease backward compatibility for WML syntax
- // to be removed (with all corresponding code once 1.3.6 is reached
- std::vector<unit_animation> animation_;
private:
t_string description_;
std::string id_;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits