Author: mordante
Date: Sun Jun 22 12:03:57 2008
New Revision: 27388
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27388&view=rev
Log:
Initialize all members.
Modified:
trunk/src/soundsource.hpp
Modified: trunk/src/soundsource.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/soundsource.hpp?rev=27388&r1=27387&r2=27388&view=diff
==============================================================================
--- trunk/src/soundsource.hpp (original)
+++ trunk/src/soundsource.hpp Sun Jun 22 12:03:57 2008
@@ -114,9 +114,17 @@
std::vector<gamemap::location> locations;
public:
- sourcespec(const std::string &id_, const std::string &files_, int
min_delay_, int chance_)
- : id(id_), files(files_), min_delay(min_delay_),
chance(chance_), loops(0),
- range(1), faderange(range), check_fogged(false)
+ sourcespec(const std::string &id_,
+ const std::string &files_, int min_delay_, int chance_)
:
+ id(id_),
+ files(files_),
+ min_delay(min_delay_),
+ chance(chance_),
+ loops(0),
+ range(1),
+ faderange(range),
+ check_fogged(false),
+ locations()
{
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits