Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
3902
void AddSlainHero()
3903
{
3904
Point rndObjLoc = GetRndObjLoc(5);
3905
AddObject(OBJ_SLAINHERO, rndObjLoc + Displacement { 2, 2 });
3906
}
3907
3908
void InitObjects()
3909
{
Callers
1
InitObjects
Function · 0.85
Calls
2
GetRndObjLoc
Function · 0.85
AddObject
Function · 0.85
Tested by
no test coverage detected