mail[Wesnoth-commits] r28915 - /trunk/src/editor2/editor_map.cpp


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

Header


Content

Posted by koraq on August 24, 2008 - 11:57:
Author: mordante
Date: Sun Aug 24 11:57:57 2008
New Revision: 28915

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

Modified:
    trunk/src/editor2/editor_map.cpp

Modified: trunk/src/editor2/editor_map.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_map.cpp?rev=28915&r1=28914&r2=28915&view=diff
==============================================================================
--- trunk/src/editor2/editor_map.cpp (original)
+++ trunk/src/editor2/editor_map.cpp Sun Aug 24 11:57:57 2008
@@ -28,14 +28,16 @@
 namespace editor2 {
 
 editor_map::editor_map(const config& terrain_cfg, const std::string& data)
-: gamemap(terrain_cfg, data)
+       : gamemap(terrain_cfg, data)
+       , selection_()
 {
        sanity_check();
 }
 
 editor_map::editor_map(const config& terrain_cfg, size_t width, size_t 
height, t_translation::t_terrain filler)
-: gamemap(terrain_cfg, gamemap::default_map_header + 
t_translation::write_game_map(
-       t_translation::t_map(width + 2, t_translation::t_list(height + 2, 
filler))))
+       : gamemap(terrain_cfg, gamemap::default_map_header + 
t_translation::write_game_map(
+               t_translation::t_map(width + 2, t_translation::t_list(height 
+ 2, filler))))
+       , selection_()
 {
        sanity_check();
 }




Related Messages


Powered by MHonArc, Updated Sun Aug 24 12:02:23 2008