summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-02-06 05:08:37 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-02-06 05:08:37 +0000
commit2ba08eae75f05d5a81494c7e3b98286796635cb3 (patch)
tree0039320850c6553383cb3b028273588b4ce66ef8 /src/map/npc.c
parent78b321140807eae39e03b79b20c87e21677515f0 (diff)
downloadhercules-2ba08eae75f05d5a81494c7e3b98286796635cb3.tar.gz
hercules-2ba08eae75f05d5a81494c7e3b98286796635cb3.tar.bz2
hercules-2ba08eae75f05d5a81494c7e3b98286796635cb3.tar.xz
hercules-2ba08eae75f05d5a81494c7e3b98286796635cb3.zip
2010/02/06
* Added official packet to display received expirience. (info provided by papkil) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14240 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index a5512eefc..e629848fe 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1331,7 +1331,7 @@ int npc_buylist(struct map_session_data* sd, int n, unsigned short* item_list)
z = z * (double)skill * (double)battle_config.shop_exp/10000.;
if( z < 1 )
z = 1;
- pc_gainexp(sd,NULL,0,(int)z);
+ pc_gainexp(sd,NULL,0,(int)z, false);
}
}
@@ -1404,7 +1404,7 @@ int npc_selllist(struct map_session_data* sd, int n, unsigned short* item_list)
z = z * (double)skill * (double)battle_config.shop_exp/10000.;
if (z < 1)
z = 1;
- pc_gainexp(sd,NULL,0,(int)z);
+ pc_gainexp(sd,NULL,0,(int)z, false);
}
}