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

Function AddSlainHero

Source/objects.cpp:1318–1324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1316}
1317
1318void AddSlainHero()
1319{
1320 int x, y;
1321
1322 GetRndObjLoc(5, &x, &y);
1323 AddObject(OBJ_SLAINHERO, x + 2, y + 2);
1324}
1325
1326void AddObject(int ot, int ox, int oy)
1327{

Callers 1

InitObjectsFunction · 0.85

Calls 2

GetRndObjLocFunction · 0.85
AddObjectFunction · 0.85

Tested by

no test coverage detected