diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-11 20:33:19 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-11 20:33:19 +0000 |
commit | 62625eb5d63d46764d66d5cea31b0b45d0c20c99 (patch) | |
tree | 1b64119033b8901afbf4f281f5c70c0e5c5ac80f /src/map/guild.c | |
parent | fe4e7f2ec610b172203d2beb5df7435ec45b1cdd (diff) | |
download | hercules-62625eb5d63d46764d66d5cea31b0b45d0c20c99.tar.gz hercules-62625eb5d63d46764d66d5cea31b0b45d0c20c99.tar.bz2 hercules-62625eb5d63d46764d66d5cea31b0b45d0c20c99.tar.xz hercules-62625eb5d63d46764d66d5cea31b0b45d0c20c99.zip |
- Added ers handling for skill_timerskill structures.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5995 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/guild.c')
-rw-r--r-- | src/map/guild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/guild.c b/src/map/guild.c index 473ca6258..dc059bb40 100644 --- a/src/map/guild.c +++ b/src/map/guild.c @@ -367,7 +367,7 @@ int guild_payexp_timer_sub(DBKey dataid, void *data, va_list ap) return 0;
}
- if (g->member[i].exp > INT_MAX - c->exp)
+ if ((unsigned int)g->member[i].exp > INT_MAX - c->exp)
g->member[i].exp = INT_MAX;
else
g->member[i].exp+= c->exp;
|