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

Function DropItemBeforeTrig

Source/inv.cpp:2211–2220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2209}
2210
2211BOOL DropItemBeforeTrig()
2212{
2213 if (TryInvPut()) {
2214 NetSendCmdPItem(TRUE, CMD_PUTITEM, cursmx, cursmy);
2215 SetCursor_(CURSOR_HAND);
2216 return TRUE;
2217 }
2218
2219 return FALSE;
2220}
2221
2222DEVILUTION_END_NAMESPACE

Callers 3

TryDropItemFunction · 0.85
trigs.cppFile · 0.85
TalkToTownerFunction · 0.85

Calls 3

TryInvPutFunction · 0.85
NetSendCmdPItemFunction · 0.85
SetCursor_Function · 0.85

Tested by

no test coverage detected