summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-25 19:37:58 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-25 19:37:58 +0000
commit604aa8ea6b8691e0b886bc55830930c65226e600 (patch)
tree57efd606c1a7727aadaa9938bbccb89dce09f90e /src/map/skill.c
parentad50b37beff08ee93979c244d24a60c12c7bc1bf (diff)
downloadhercules-604aa8ea6b8691e0b886bc55830930c65226e600.tar.gz
hercules-604aa8ea6b8691e0b886bc55830930c65226e600.tar.bz2
hercules-604aa8ea6b8691e0b886bc55830930c65226e600.tar.xz
hercules-604aa8ea6b8691e0b886bc55830930c65226e600.zip
Reformatting, warning fixes, unsigned char removal
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10618 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index efadefe9c..918f90737 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2442,7 +2442,7 @@ static int skill_check_condition_hom (struct homun_data *hd, int skill, int lv,
return 0;
break;
case HVAN_EXPLOSION:
- if(hd->homunculus.intimacy < battle_config.hvan_explosion_intimate)
+ if(hd->homunculus.intimacy < (unsigned int)battle_config.hvan_explosion_intimate)
return 0;
break;
}
@@ -6115,7 +6115,7 @@ int skill_castend_pos2 (struct block_list *src, int x, int y, int skillid, int s
case WZ_METEOR:
{
int flag=0, area = skill_get_splash(skillid, skilllv);
- short tmpx, tmpy, x1 = 0, y1 = 0;
+ short tmpx = 0, tmpy = 0, x1 = 0, y1 = 0;
if (sc && sc->data[SC_MAGICPOWER].timer != -1)
flag = flag|2; //Store the magic power flag for future use. [Skotlex]
for(i=0;i<2+(skilllv>>1);i++) {