Author: mordante
Date: Fri Jul 18 18:37:08 2008
New Revision: 28069
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28069&view=rev
Log:
Initialize all members.
Modified:
trunk/src/halo.cpp
Modified: trunk/src/halo.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/halo.cpp?rev=28069&r1=28068&r2=28069&view=diff
==============================================================================
--- trunk/src/halo.cpp (original)
+++ trunk/src/halo.cpp Fri Jul 18 18:37:08 2008
@@ -97,9 +97,16 @@
std::set<int> changing_haloes;
effect::effect(int xpos, int ypos, const
animated<std::string>::anim_description& img,
- const gamemap::location& loc, ORIENTATION orientation, bool infinite) :
- images_(img), orientation_(orientation), x_(xpos), y_(ypos),
- surf_(NULL), buffer_(NULL), rect_(empty_rect), loc_(loc)
+ const gamemap::location& loc, ORIENTATION orientation, bool
infinite) :
+ images_(img),
+ orientation_(orientation),
+ x_(xpos),
+ y_(ypos),
+ surf_(NULL),
+ buffer_(NULL),
+ rect_(empty_rect),
+ loc_(loc),
+ overlayed_hexes_()
{
assert(disp != NULL);
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits