summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-02 17:36:59 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-02 17:36:59 +0000
commit767b08018e035e1d04e7d83ea923a146626761f0 (patch)
treeb111819e70fb84200bef87bc8d567c84bff7130d /src/map/clif.c
parent65b3428fad4d6371253e8492cb1d1149eefafbb1 (diff)
downloadhercules-767b08018e035e1d04e7d83ea923a146626761f0.tar.gz
hercules-767b08018e035e1d04e7d83ea923a146626761f0.tar.bz2
hercules-767b08018e035e1d04e7d83ea923a146626761f0.tar.xz
hercules-767b08018e035e1d04e7d83ea923a146626761f0.zip
Fixed wrong mvp format string for @mobinfo (would not show big mvp exp rewards correctly).
Added data length check to chrif_authok(), to detect a mismatch between charserver's and mapserver's mmo_charstatus structure size. Corrected some typos in the cash shop code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12277 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 3378d785c..3c84b9df6 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11723,7 +11723,7 @@ void clif_cashshop_show(struct map_session_data *sd, struct npc_data *nd)
{
struct item_data* id = itemdb_search(nd->u.shop.shop_item[i].nameid);
WFIFOL(fd,12+i*11) = nd->u.shop.shop_item[i].value;
- WFIFOL(fd,16+i*11) = nd->u.shop.shop_item[i].value; // Discount Prize? Maybe a Discount item
+ WFIFOL(fd,16+i*11) = nd->u.shop.shop_item[i].value; // Discount Price? Maybe a Discount item
WFIFOB(fd,20+i*11) = itemtype(id->type);
WFIFOW(fd,21+i*11) = ( id->view_id > 0 ) ? id->view_id : id->nameid;
}