Author: mordante
Date: Sat Mar 24 11:31:23 2012
New Revision: 53628
URL: http://svn.gna.org/viewcvs/wesnoth?rev=53628&view=rev
Log:
Initialize all members.
Modified:
trunk/src/editor/action/mouse/mouse_action_unit.hpp
Modified: trunk/src/editor/action/mouse/mouse_action_unit.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor/action/mouse/mouse_action_unit.hpp?rev=53628&r1=53627&r2=53628&view=diff
==============================================================================
--- trunk/src/editor/action/mouse/mouse_action_unit.hpp (original)
+++ trunk/src/editor/action/mouse/mouse_action_unit.hpp Sat Mar 24 11:31:23 2012
@@ -30,7 +30,11 @@
{
public:
mouse_action_unit(const CKey& key, unit_palette& palette)
- : mouse_action(palette, key), click_(false), start_hex_()
+ : mouse_action(palette, key)
+ , click_(false)
+ , start_hex_()
+ , old_direction_(map_location::NORTH)
+ , new_direction_(map_location::NORTH)
{
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits