|
|
|
|
@ -380,6 +380,8 @@ void DrawSpell()
|
|
|
|
|
|
|
|
|
|
spl = plr[myplr]._pRSpell; |
|
|
|
|
st = plr[myplr]._pRSplType; |
|
|
|
|
|
|
|
|
|
// BUGFIX: Move the next line into the if statement to avoid OOB (SPL_INVALID is -1)
|
|
|
|
|
tlvl = plr[myplr]._pISplLvlAdd + plr[myplr]._pSplLvl[spl]; |
|
|
|
|
if (st == RSPLTYPE_SPELL && spl != SPL_INVALID) { |
|
|
|
|
if (!CheckSpell(myplr, spl, RSPLTYPE_SPELL, TRUE)) |
|
|
|
|
|