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

Function CheckInvItem

Source/inv.cpp:1320–1327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1318}
1319
1320void CheckInvItem()
1321{
1322 if (pcurs >= CURSOR_FIRSTITEM) {
1323 CheckInvPaste(myplr, MouseX, MouseY);
1324 } else {
1325 CheckInvCut(myplr, MouseX, MouseY);
1326 }
1327}
1328
1329/**
1330 * Check for interactions with belt

Callers 3

PerformPrimaryActionFunction · 0.85
LeftMouseDownFunction · 0.85
CheckInvScrnFunction · 0.85

Calls 2

CheckInvPasteFunction · 0.85
CheckInvCutFunction · 0.85

Tested by

no test coverage detected