diff options
author | Paradox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-02-09 20:26:42 +0000 |
---|---|---|
committer | Paradox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-02-09 20:26:42 +0000 |
commit | 0034a439b74142f27a93b422ef66eaa90ddb7ab3 (patch) | |
tree | 560d2c8f405398602ab425d3c97ab3acd3c96d65 /src/map/clif.c | |
parent | 321fad2e5e3ceff3f624d124565b22ca9868db9f (diff) | |
download | hercules-0034a439b74142f27a93b422ef66eaa90ddb7ab3.tar.gz hercules-0034a439b74142f27a93b422ef66eaa90ddb7ab3.tar.bz2 hercules-0034a439b74142f27a93b422ef66eaa90ddb7ab3.tar.xz hercules-0034a439b74142f27a93b422ef66eaa90ddb7ab3.zip |
Expanded range for cached and stored-in-db guild member exp (devotion) from uint32 to uint64. (bugreport:3983)
Capped value when sending to client to INT_MAX to prevent confusion.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14242 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index f9fd3ffca..db6d4a291 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -6616,7 +6616,7 @@ int clif_guild_memberlist(struct map_session_data *sd) WFIFOW(fd,c*104+16)=m->gender; WFIFOW(fd,c*104+18)=m->class_; WFIFOW(fd,c*104+20)=m->lv; - WFIFOL(fd,c*104+22)=m->exp; + WFIFOL(fd,c*104+22)=cap_value(m->exp,0,INT_MAX); WFIFOL(fd,c*104+26)=m->online; WFIFOL(fd,c*104+30)=m->position; memset(WFIFOP(fd,c*104+34),0,50); // ƒƒ‚H |