diff options
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/party.c b/src/map/party.c index 0799b5215..ab86797f2 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -743,8 +743,8 @@ int party_exp_share(struct party_data *p,struct block_list *src,unsigned int bas job_exp = job_exp*bonus/100;
}
if (zeny) {
- if (zeny/100 > UINT_MAX/bonus)
- zeny = UINT_MAX;
+ if (zeny/100 > INT_MAX/bonus)
+ zeny = INT_MAX;
else if (zeny > 10000)
zeny = (zeny/100)*bonus;
else
|