Initialize all members.
This commit is contained in:
parent
e1ca2d3f71
commit
f00c4f0798
1 changed files with 9 additions and 3 deletions
|
@ -45,9 +45,15 @@ static bool command_active()
|
|||
#endif
|
||||
}
|
||||
|
||||
mouse_handler_base::mouse_handler_base(gamemap& map)
|
||||
: minimap_scrolling_(false), dragging_(false), dragging_started_(false),
|
||||
last_hex_(), show_menu_(false), map_(map)
|
||||
mouse_handler_base::mouse_handler_base(gamemap& map) :
|
||||
minimap_scrolling_(false),
|
||||
dragging_(false),
|
||||
dragging_started_(false),
|
||||
drag_from_x_(0),
|
||||
drag_from_y_(0),
|
||||
last_hex_(),
|
||||
show_menu_(false),
|
||||
map_(map)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue