mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
Fix uninitialized mSkill/mAttribute for spellmaker spells
This commit is contained in:
parent
c73217627e
commit
aa4b2d9504
@ -9,7 +9,7 @@
|
||||
|
||||
#include "../mwworld/player.hpp"
|
||||
|
||||
#include "../mwmechanics/spellsuccess.hpp"
|
||||
#include "../mwmechanics/spellcasting.hpp"
|
||||
|
||||
#include "tooltips.hpp"
|
||||
#include "class.hpp"
|
||||
@ -89,6 +89,8 @@ namespace MWGui
|
||||
mEffect.mMagnMax = 1;
|
||||
mEffect.mDuration = 1;
|
||||
mEffect.mArea = 0;
|
||||
mEffect.mSkill = -1;
|
||||
mEffect.mAttribute = -1;
|
||||
eventEffectAdded(mEffect);
|
||||
|
||||
onRangeButtonClicked(mRangeButton);
|
||||
|
Loading…
x
Reference in New Issue
Block a user