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

Function AddSarc

Source/objects.cpp:1048–1055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1046}
1047
1048void AddSarc(int i)
1049{
1050 dObject[object[i]._ox][object[i]._oy - 1] = -(i + 1);
1051 object[i]._oVar1 = random_(153, 10);
1052 object[i]._oRndSeed = GetRndSeed();
1053 if (object[i]._oVar1 >= 8)
1054 object[i]._oVar2 = PreSpawnSkeleton();
1055}
1056
1057void AddFlameTrap(int i)
1058{

Callers 1

AddObjectFunction · 0.85

Calls 3

random_Function · 0.85
GetRndSeedFunction · 0.85
PreSpawnSkeletonFunction · 0.85

Tested by

no test coverage detected