Author: mordante
Date: Thu Jun 30 22:24:48 2011
New Revision: 50100

URL: http://svn.gna.org/viewcvs/wesnoth?rev=50100&view=rev
Log:
Initialize all members.

Modified:
    trunk/src/ai/composite/engine_lua.cpp

Modified: trunk/src/ai/composite/engine_lua.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai/composite/engine_lua.cpp?rev=50100&r1=50099&r2=50100&view=diff
==============================================================================
--- trunk/src/ai/composite/engine_lua.cpp (original)
+++ trunk/src/ai/composite/engine_lua.cpp Thu Jun 30 22:24:48 2011
@@ -107,6 +107,7 @@
 public:
        lua_sticky_candidate_action_wrapper( rca_context &context, const config 
&cfg, lua_ai_context &lua_ai_ctx) 
                : lua_candidate_action_wrapper(context, cfg, lua_ai_ctx)
+               , bound_unit()
        {
                map_location loc(cfg["unit_x"], cfg["unit_y"]);
                bound_unit = boost::shared_ptr<unit>(new 
unit(*resources::units->find(loc)));


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to