summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-03 09:15:29 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-03 09:15:29 +0000
commit9d3984c630ddb7a3f9aa29e456e05d8e82f617c5 (patch)
tree88f120493529133c48b541dadf85303c125662e9 /src/map/clif.c
parent8858572dd6887a2c41f9b4d64df3e1491dd3c452 (diff)
downloadhercules-9d3984c630ddb7a3f9aa29e456e05d8e82f617c5.tar.gz
hercules-9d3984c630ddb7a3f9aa29e456e05d8e82f617c5.tar.bz2
hercules-9d3984c630ddb7a3f9aa29e456e05d8e82f617c5.tar.xz
hercules-9d3984c630ddb7a3f9aa29e456e05d8e82f617c5.zip
* Removed leftovers of the item_value_db.txt feature (bugreport:2031, since athena-dev-2.1.1-mod377, followup to pre-svn 2004/05/29).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14553 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 910ce19f2..29064fe31 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1521,9 +1521,7 @@ int clif_buylist(struct map_session_data *sd, struct npc_data *nd)
if( id == NULL )
continue;
WFIFOL(fd, 4+c*11) = val;
- if (!id->flag.value_notdc)
- val = pc_modifybuyvalue(sd,val);
- WFIFOL(fd, 8+c*11) = val;
+ WFIFOL(fd, 8+c*11) = pc_modifybuyvalue(sd,val);
WFIFOB(fd,12+c*11) = itemtype(id->type);
WFIFOW(fd,13+c*11) = ( id->view_id > 0 ) ? id->view_id : id->nameid;
c++;
@@ -1562,9 +1560,7 @@ int clif_selllist(struct map_session_data *sd)
continue;
WFIFOW(fd,4+c*10)=i+2;
WFIFOL(fd,6+c*10)=val;
- if( !sd->inventory_data[i]->flag.value_notoc )
- val=pc_modifysellvalue(sd,val);
- WFIFOL(fd,10+c*10)=val;
+ WFIFOL(fd,10+c*10)=pc_modifysellvalue(sd,val);
c++;
}
}