Browse Source

Merge pull request #867 from AJenbo/SetSpell

Clean up SetSpell
pull/88/head
Robin Eklind 7 years ago committed by GitHub
parent
commit
c58c8e2d15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      Source/control.cpp

7
Source/control.cpp

@ -580,15 +580,12 @@ void DrawSpellList()
void SetSpell()
{
int v0; // eax
spselflag = 0;
if (pSpell != -1) {
ClearPanel();
v0 = myplr;
drawpanflag = 255;
plr[v0]._pRSpell = pSpell;
_LOBYTE(plr[v0]._pRSplType) = pSplType;
plr[myplr]._pRSpell = pSpell;
plr[myplr]._pRSplType = pSplType;
}
}
// 4B8834: using guessed type int pSpell;

Loading…
Cancel
Save