Fix uninitialized variable.

This commit is contained in:
Relintai 2020-02-08 03:09:25 +01:00
parent dc23652f70
commit 0fcaa49641

View File

@ -221,6 +221,7 @@ void SpellCastInfo::from_dict(const Dictionary &dict) {
SpellCastInfo::SpellCastInfo() {
_caster = NULL;
_target = NULL;
_world_spell = NULL;
_has_cast_time = false;
_cast_time = 0;