summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-05 16:23:02 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-05 16:23:02 +0000
commit0a21b3250da89a79769f40ad8244de7898e549fe (patch)
tree7df611acf7b14628f62639ed6fdb6782553f34a6 /src/map/clif.c
parent53c1056d5f11c8ecd8caedae24765e922017fede (diff)
downloadhercules-0a21b3250da89a79769f40ad8244de7898e549fe.tar.gz
hercules-0a21b3250da89a79769f40ad8244de7898e549fe.tar.bz2
hercules-0a21b3250da89a79769f40ad8244de7898e549fe.tar.xz
hercules-0a21b3250da89a79769f40ad8244de7898e549fe.zip
* Added code to clear the Illusionary Shadow effect (followup to r12293)
* Added some trim() calls into mapflag code (followup to r12238) * Fixed mvp exp reward packet not working right for big values * Added dbghelpplug plugin entry to the plugins configuration file * Added conf setting for auction table name (see r12287) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12300 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index e3cb75054..c815fd7b3 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -6009,7 +6009,7 @@ int clif_mvp_item(struct map_session_data *sd,int nameid)
/*==========================================
* MVPŒoŒ±’lŠ“¾
*------------------------------------------*/
-int clif_mvp_exp(struct map_session_data *sd,unsigned long exp)
+int clif_mvp_exp(struct map_session_data *sd, unsigned int exp)
{
int fd;
@@ -6018,7 +6018,7 @@ int clif_mvp_exp(struct map_session_data *sd,unsigned long exp)
fd=sd->fd;
WFIFOHEAD(fd,packet_len(0x10b));
WFIFOW(fd,0)=0x10b;
- WFIFOL(fd,2)=exp;
+ WFIFOL(fd,2)=cap_value(exp,0,INT_MAX);
WFIFOSET(fd,packet_len(0x10b));
return 0;
}