summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-29 09:53:45 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-29 09:53:45 +0000
commit9e62c33d9ee58d7dcf1c667a77b3fdd814bc0943 (patch)
tree872a0cc972ddfc74e17afff9efc4065dc284401b /src/map/status.c
parent3b0f07f4b6d7ba237ba37a7d4ce627ded5581cad (diff)
downloadhercules-9e62c33d9ee58d7dcf1c667a77b3fdd814bc0943.tar.gz
hercules-9e62c33d9ee58d7dcf1c667a77b3fdd814bc0943.tar.bz2
hercules-9e62c33d9ee58d7dcf1c667a77b3fdd814bc0943.tar.xz
hercules-9e62c33d9ee58d7dcf1c667a77b3fdd814bc0943.zip
[Optimized]
- Removed unused checks for unsigned data type and possible logic error for char type (gcc treats char as unsigned). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6814 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 24821895a..09170ee92 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -629,7 +629,7 @@ int status_heal(struct block_list *bl,unsigned int hp,unsigned int sp, int flag)
//If rates are > 0, percent is of current HP/SP
//If rates are < 0, percent is of max HP/SP
//If flag, this is heal, otherwise it is damage.
-int status_percent_change(struct block_list *src,struct block_list *target,char hp_rate, char sp_rate, int flag)
+int status_percent_change(struct block_list *src,struct block_list *target,signed char hp_rate, signed char sp_rate, int flag)
{
struct status_data *status;
unsigned int hp =0, sp = 0;