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

Function AddSlainHero

Source/objects.cpp:3902–3906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3900}
3901
3902void AddSlainHero()
3903{
3904 Point rndObjLoc = GetRndObjLoc(5);
3905 AddObject(OBJ_SLAINHERO, rndObjLoc + Displacement { 2, 2 });
3906}
3907
3908void InitObjects()
3909{

Callers 1

InitObjectsFunction · 0.85

Calls 2

GetRndObjLocFunction · 0.85
AddObjectFunction · 0.85

Tested by

no test coverage detected