summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-28 03:24:03 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-28 03:24:03 +0000
commit3b4455299f3c5c0f6d6032c21c15f2e011639749 (patch)
tree1a90d42b5ac90068b5f87fa1ec5d8d7868a0ad31 /src/map/battle.c
parente0b7121e95820094b922c757424dd2e584cbbeaf (diff)
downloadhercules-3b4455299f3c5c0f6d6032c21c15f2e011639749.tar.gz
hercules-3b4455299f3c5c0f6d6032c21c15f2e011639749.tar.bz2
hercules-3b4455299f3c5c0f6d6032c21c15f2e011639749.tar.xz
hercules-3b4455299f3c5c0f6d6032c21c15f2e011639749.zip
- Suppressed compilation warnings (unsigned and signed mismatches)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6793 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 20dab2f63..b0b953827 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2747,7 +2747,7 @@ void battle_drain(TBL_PC *sd, TBL_PC* tsd, int rdamage, int ldamage, int race, i
if (rhp || rsp)
status_zap(&tsd->bl, rhp, rsp);
if (rand()%1000 < sd->sp_vanish_rate)
- status_percent_damage(&sd->bl, &tsd->bl, 0, sd->sp_vanish_per);
+ status_percent_damage(&sd->bl, &tsd->bl, 0, (unsigned char)sd->sp_vanish_per);
}
}
/*==========================================