summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorDennis Friis <peavey@placid.dk>2008-05-08 14:28:26 +0000
committerDennis Friis <peavey@placid.dk>2008-05-08 14:28:26 +0000
commit40954e262f305d8d4a9927bc7b90943463eebf25 (patch)
tree058a6dd42c0bff38e33fb451cd80149105fac1b3 /src/map/npc.c
parent38716f606e6c5559526b37eda4e8eea3604a031a (diff)
downloadtmwa-40954e262f305d8d4a9927bc7b90943463eebf25.tar.gz
tmwa-40954e262f305d8d4a9927bc7b90943463eebf25.tar.bz2
tmwa-40954e262f305d8d4a9927bc7b90943463eebf25.tar.xz
tmwa-40954e262f305d8d4a9927bc7b90943463eebf25.zip
remove an unused var that got left in by mistake.
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 84f0695..cdc0fe5 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -995,7 +995,7 @@ int npc_buylist(struct map_session_data *sd,int n,unsigned short *item_list)
struct item_data *item_data;
if ((item_data = itemdb_exists(item_list[i*2+1])) != NULL)
{
- int amount = item_list[i*2], flag;
+ int amount = item_list[i*2];
struct item item_tmp;
memset(&item_tmp,0,sizeof(item_tmp));