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

Function AddObjLight

Source/objects.cpp:1086–1094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1084}
1085
1086void AddObjLight(int i, int r)
1087{
1088 if (InitObjFlag) {
1089 DoLighting(object[i]._ox, object[i]._oy, r, -1);
1090 object[i]._oVar1 = -1;
1091 } else {
1092 object[i]._oVar1 = 0;
1093 }
1094}
1095
1096void AddBarrel(int i, int t)
1097{

Callers 1

AddObjectFunction · 0.85

Calls 1

DoLightingFunction · 0.85

Tested by

no test coverage detected