SAGA2: Fix SpellTarget initialization. CID 1457867, 1457940

This commit is contained in:
Eugene Sandulenko 2021-07-11 13:17:12 +02:00
parent 056d14d0d2
commit 4fd50abfc2
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -191,12 +191,14 @@ public:
loc = tp;
next = nullptr;
tag = nullptr;
obj = nullptr;
}
SpellTarget(ActiveItem *ai) {
type = spellTargetTAG;
tag = ai;
next = nullptr;
tag = nullptr;
obj = nullptr;
}
SpellTarget(StorageSpellTarget &sst);