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

Function ItemMiscIdIdx

Source/objects.cpp:2806–2816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2804}
2805
2806int ItemMiscIdIdx(int imiscid)
2807{
2808 int i;
2809
2810 i = 0;
2811 while (AllItemsList[i].iRnd == 0 || AllItemsList[i].iMiscId != imiscid) {
2812 i++;
2813 }
2814
2815 return i;
2816}
2817
2818void OperateShrine(int pnum, int i, int sType)
2819{

Callers 1

OperateShrineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected