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

Function DeleteMonster

Source/monster.cpp:1065–1073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1063#endif
1064
1065void DeleteMonster(int i)
1066{
1067 int temp;
1068
1069 nummonsters--;
1070 temp = monstactive[nummonsters];
1071 monstactive[nummonsters] = monstactive[i];
1072 monstactive[i] = temp;
1073}
1074
1075int AddMonster(int x, int y, int dir, int mtype, BOOL InMap)
1076{

Callers 1

DeleteMonsterListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected