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

Function TFit_GoatShrine

Source/themes.cpp:163–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163BOOL TFit_GoatShrine(int t)
164{
165 int i;
166
167 for (i = 0; i < nummtypes; i++) {
168 if (IsGoat(Monsters[i].mtype)) {
169 themeVar1 = i;
170 return TFit_Obj5(t);
171 }
172 }
173
174 return FALSE;
175}
176
177BOOL CheckThemeObj3(int xp, int yp, int t, int f)
178{

Callers 2

SpecialThemeFitFunction · 0.85
Theme_GoatShrineFunction · 0.85

Calls 2

IsGoatFunction · 0.85
TFit_Obj5Function · 0.85

Tested by

no test coverage detected