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

Function FreeMonsters

Source/monster.cpp:4664–4679  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4662}
4663
4664void FreeMonsters()
4665{
4666 int mtype;
4667 int i, j;
4668
4669 for (i = 0; i < nummtypes; i++) {
4670 mtype = Monsters[i].mtype;
4671 for (j = 0; j < 6; j++) {
4672 if (animletter[j] != 's' || monsterdata[mtype].has_special) {
4673 MemFreeDbg(Monsters[i].Anims[j].CMem);
4674 }
4675 }
4676 }
4677
4678 FreeMissiles2();
4679}
4680
4681BOOL DirOK(int i, int mdir)
4682{

Callers 1

FreeGameMemFunction · 0.85

Calls 1

FreeMissiles2Function · 0.85

Tested by

no test coverage detected