Fixed duplicate itemshops and pointshops (#4850)
This commit is contained in:
parent
4829f3775d
commit
fe14af9962
@ -3429,6 +3429,8 @@ const char* npc_parse_duplicate(char* w1, char* w2, char* w3, char* w4, const ch
|
||||
case NPCTYPE_POINTSHOP:
|
||||
case NPCTYPE_MARKETSHOP:
|
||||
++npc_shop;
|
||||
safestrncpy( dnd->u.shop.pointshop_str, nd->u.shop.pointshop_str, strlen( nd->u.shop.pointshop_str ) );
|
||||
nd->u.shop.itemshop_nameid = dnd->u.shop.itemshop_nameid;
|
||||
nd->u.shop.shop_item = dnd->u.shop.shop_item;
|
||||
nd->u.shop.count = dnd->u.shop.count;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user