Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diasurgical/devilution
/ SwapItem
Function
SwapItem
Source/inv.cpp:642–651 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
640
}
641
642
int SwapItem(ItemStruct *a, ItemStruct *b)
643
{
644
ItemStruct h;
645
646
h = *a;
647
*a = *b;
648
*b = h;
649
650
return h._iCurs + CURSOR_FIRSTITEM;
651
}
652
653
void CheckInvPaste(int pnum, int mx, int my)
654
{
Callers
1
CheckInvPaste
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected