Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diasurgical/devilution
/ TorchLocOK
Function
TorchLocOK
Source/objects.cpp:454–463 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
452
}
453
454
BOOL TorchLocOK(int xp, int yp)
455
{
456
if (dFlags[xp][yp] & BFLAG_POPULATED)
457
return FALSE;
458
459
if (nTrapTable[dPiece[xp][yp]] != FALSE)
460
return TRUE;
461
else
462
return FALSE;
463
}
464
465
void AddObjTraps()
466
{
Callers
1
AddObjTraps
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected