Core/Spells: Fixed crash caused by uninitialized target type

This commit is contained in:
Shauren committed 2012-12-27 20:21:44 +01:00
1 parent cb5687f583
commit fef25a6374
1 file changed
+1 -1
+1 -1
View File
@@ -200,7 +200,7 @@ class SpellImplicitTargetInfo
private:
Targets _target;
public:
SpellImplicitTargetInfo() {}
SpellImplicitTargetInfo() : _target(Targets(0)) {}
SpellImplicitTargetInfo(uint32 target);
bool IsArea() const;