Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1318
void AddSlainHero()
1319
{
1320
int x, y;
1321
1322
GetRndObjLoc(5, &x, &y);
1323
AddObject(OBJ_SLAINHERO, x + 2, y + 2);
1324
}
1325
1326
void AddObject(int ot, int ox, int oy)
1327
{
Callers
1
InitObjects
Function · 0.85
Calls
2
GetRndObjLoc
Function · 0.85
AddObject
Function · 0.85
Tested by
no test coverage detected