diff options
author | MadCamel <madcamel@gmail.com> | 2009-08-21 13:36:14 -0400 |
---|---|---|
committer | MadCamel <madcamel@gmail.com> | 2009-08-21 13:36:14 -0400 |
commit | dba8aaaeb3ac0c75054f8e5a590e2e4a2cbf2597 (patch) | |
tree | f70926e69e1b1d011d80d0e7884f89dcea57145b /src/map/npc.c | |
parent | 44a76629cb297e949a8f8290e999504daffbda9e (diff) | |
parent | 423715cfc4e9060a2ad4fc37da2dd025aec233cd (diff) | |
download | tmwa-dba8aaaeb3ac0c75054f8e5a590e2e4a2cbf2597.tar.gz tmwa-dba8aaaeb3ac0c75054f8e5a590e2e4a2cbf2597.tar.bz2 tmwa-dba8aaaeb3ac0c75054f8e5a590e2e4a2cbf2597.tar.xz tmwa-dba8aaaeb3ac0c75054f8e5a590e2e4a2cbf2597.zip |
Merge branch 'master' of git://gitorious.org/tmw-eathena/mainline
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index a24a458..10d64db 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -944,7 +944,7 @@ int npc_buylist(struct map_session_data *sd,int n,unsigned short *item_list) case ADDITEM_EXIST: break; case ADDITEM_NEW: - if (itemdb_isequip) + if (itemdb_isequip(item_list[i*2+1])) new += item_list[i*2]; else new++; |