diff options
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 5c839385b..f06d48779 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3837,8 +3837,8 @@ int pc_additem(struct map_session_data *sd,struct item *item_data,int amount,e_l clif_additem(sd,i,amount,0); } #ifdef NSI_UNIQUE_ID - if( !itemdb_isstackable2(data) && !item_data->nsiuid ) - sd->status.inventory[i].nsiuid = itemdb_nsiuid(0,0); + if( !itemdb_isstackable2(data) && !item_data->unique_id ) + sd->status.inventory[i].unique_id = itemdb_unique_id(0,0); #endif log_pick_pc(sd, log_type, amount, &sd->status.inventory[i]); |