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

Function M_DoStone

Source/monster.cpp:2686–2697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2684}
2685
2686BOOL M_DoStone(int i)
2687{
2688 if ((DWORD)i >= MAXMONSTERS)
2689 app_fatal("M_DoStone: Invalid monster %d", i);
2690
2691 if (!monster[i]._mhitpoints) {
2692 dMonster[monster[i]._mx][monster[i]._my] = 0;
2693 monster[i]._mDelFlag = TRUE;
2694 }
2695
2696 return FALSE;
2697}
2698
2699void M_WalkDir(int i, int md)
2700{

Callers 1

ProcessMonstersFunction · 0.85

Calls 1

app_fatalFunction · 0.85

Tested by

no test coverage detected