Author: mordante
Date: Sun Jun 22 14:15:27 2008
New Revision: 27404
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27404&view=rev
Log:
Added constructor to initialize all members.
Modified:
trunk/src/cavegen.hpp
Modified: trunk/src/cavegen.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/cavegen.hpp?rev=27404&r1=27403&r2=27404&view=diff
==============================================================================
--- trunk/src/cavegen.hpp (original)
+++ trunk/src/cavegen.hpp Sun Jun 22 14:15:27 2008
@@ -40,6 +40,13 @@
private:
struct chamber {
+ chamber() :
+ center(),
+ locs(),
+ items(0)
+ {
+ }
+
gamemap::location center;
std::set<gamemap::location> locs;
config* items;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits