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

Function GetDebugMonster

Source/debug.cpp:205–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205void GetDebugMonster()
206{
207 int mi1, mi2;
208
209 mi1 = pcursmonst;
210 if (mi1 == -1) {
211 mi2 = dMonster[cursmx][cursmy];
212 if (mi2) {
213 mi1 = mi2 - 1;
214 if (mi2 <= 0)
215 mi1 = -1 - mi2;
216 } else {
217 mi1 = dbgmon;
218 }
219 }
220 PrintDebugMonster(mi1);
221}
222
223void NextDebugMonster()
224{

Callers 1

PressCharFunction · 0.85

Calls 1

PrintDebugMonsterFunction · 0.85

Tested by

no test coverage detected