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

Function M_StartEat

Source/monster.cpp:1437–1448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1435}
1436
1437void M_StartEat(int i)
1438{
1439 NewMonsterAnim(i, &monster[i].MType->Anims[MA_SPECIAL], monster[i]._mdir);
1440 monster[i]._mmode = MM_SATTACK;
1441 monster[i]._mxoff = 0;
1442 monster[i]._myoff = 0;
1443 monster[i]._mfutx = monster[i]._mx;
1444 monster[i]._mfuty = monster[i]._my;
1445 monster[i]._moldx = monster[i]._mx;
1446 monster[i]._moldy = monster[i]._my;
1447 M_CheckEFlag(i);
1448}
1449
1450void M_ClearSquares(int i)
1451{

Callers 1

MAI_ScavFunction · 0.85

Calls 2

NewMonsterAnimFunction · 0.85
M_CheckEFlagFunction · 0.85

Tested by

no test coverage detected