Devilution
Diablo devolved - magic behind the 1996 computer game

◆ UnPackItem()

static void UnPackItem ( PkItemStruct is,
ItemStruct id 
)
static

Expand a PkItemStruct in to a ItemStruct.

Note: last slot of item[MAXITEMS+1] used as temporary buffer find real name reference below, possibly [sizeof(item[])/sizeof(ItemStruct)]

Parameters
isThe source packed item
idThe distination item

Definition at line 118 of file pack.cpp.