MCPcopy Create free account
hub / github.com/diasurgical/devilution / SetSpell

Function SetSpell

Source/control.cpp:412–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412void SetSpell()
413{
414 spselflag = FALSE;
415 if (pSpell != SPL_INVALID) {
416 ClearPanel();
417 plr[myplr]._pRSpell = pSpell;
418 plr[myplr]._pRSplType = pSplType;
419 force_redraw = 255;
420 }
421}
422
423void SetSpeedSpell(int slot)
424{

Callers 5

PerformPrimaryActionFunction · 0.85
PerformSpellActionFunction · 0.85
TESTFunction · 0.85
LeftMouseDownFunction · 0.85
RightMouseDownFunction · 0.85

Calls 1

ClearPanelFunction · 0.85

Tested by 1

TESTFunction · 0.68