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

Function OperateDecap

Source/objects.cpp:3466–3477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3464}
3465
3466void OperateDecap(int pnum, int i, BOOL sendmsg)
3467{
3468 if (object[i]._oSelFlag != 0) {
3469 object[i]._oSelFlag = 0;
3470 if (!deltaload) {
3471 SetRndSeed(object[i]._oRndSeed);
3472 CreateRndItem(object[i]._ox, object[i]._oy, FALSE, sendmsg, FALSE);
3473 if (pnum == myplr)
3474 NetSendCmdParam1(FALSE, CMD_OPERATEOBJ, i);
3475 }
3476 }
3477}
3478
3479void OperateArmorStand(int pnum, int i, BOOL sendmsg)
3480{

Callers 2

OperateObjectFunction · 0.85
SyncOpObjectFunction · 0.85

Calls 3

SetRndSeedFunction · 0.85
CreateRndItemFunction · 0.85
NetSendCmdParam1Function · 0.85

Tested by

no test coverage detected