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

Function OperateLazStand

Source/objects.cpp:3716–3726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3714}
3715
3716void OperateLazStand(int pnum, int i)
3717{
3718 int xx, yy;
3719
3720 if (object[i]._oSelFlag != 0 && !deltaload && !qtextflag && pnum == myplr) {
3721 object[i]._oAnimFrame++;
3722 object[i]._oSelFlag = 0;
3723 GetSuperItemLoc(object[i]._ox, object[i]._oy, &xx, &yy);
3724 SpawnQuestItem(IDI_LAZSTAFF, xx, yy, 0, 0);
3725 }
3726}
3727
3728void OperateObject(int pnum, int i, BOOL TeleFlag)
3729{

Callers 1

OperateObjectFunction · 0.85

Calls 2

GetSuperItemLocFunction · 0.85
SpawnQuestItemFunction · 0.85

Tested by

no test coverage detected