summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index cc0880a..d484483 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1245,7 +1245,7 @@ static int npc_parse_shop(char *w1,char *w2,char *w3,char *w4)
if (value < 0) {
int temp = abs(value);
if (id == NULL) id = itemdb_search(nameid);
- value = id->value_buy; * temp
+ value = id->value_buy * temp;
}
nd->u.shop_item[pos].value = value;