summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-01 21:40:11 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-01 21:40:11 +0000
commit0073a0c0267b57250645bf3e0ed5a7ac4aa7463b (patch)
tree7ab0376dcff8b7fe62eb60d52aa4ac89fb29f35e /src/map/party.c
parent207277be0ac9c73626adc9cf8a6841a3dffe67ef (diff)
downloadhercules-0073a0c0267b57250645bf3e0ed5a7ac4aa7463b.tar.gz
hercules-0073a0c0267b57250645bf3e0ed5a7ac4aa7463b.tar.bz2
hercules-0073a0c0267b57250645bf3e0ed5a7ac4aa7463b.tar.xz
hercules-0073a0c0267b57250645bf3e0ed5a7ac4aa7463b.zip
Fix some build issues
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@432 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 82b77cf6b..d2f169565 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -590,7 +590,11 @@ int party_exp_share(struct party *p,int map,int base_exp,int job_exp,int zeny)
return 0;
for(i=0;i<MAX_PARTY;i++)
if((sd=p->member[i].sd)!=NULL && sd->bl.m==map) {
+#ifdef TWILIGHT
+ pc_gainexp(sd,base_exp,job_exp);
+#else
pc_gainexp(sd,base_exp/c+1,job_exp/c+1);
+#endif
if(battle_config.zeny_from_mobs) // zeny from mobs [Valaris]
pc_getzeny(sd,zeny/c+1);
}