diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-01 21:40:11 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-01 21:40:11 +0000 |
commit | 0073a0c0267b57250645bf3e0ed5a7ac4aa7463b (patch) | |
tree | 7ab0376dcff8b7fe62eb60d52aa4ac89fb29f35e /src/map/party.c | |
parent | 207277be0ac9c73626adc9cf8a6841a3dffe67ef (diff) | |
download | hercules-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.c | 4 |
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); } |