diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-18 21:59:20 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-18 21:59:20 +0000 |
commit | f26dbc30528f8627310fa03f46cefd940ee40588 (patch) | |
tree | ed89bb354699d2a5fb34b3b7022f37bc2b68b375 /src/map/skill.c | |
parent | 2bc59ef9db7a86d0c483e3848ead57d6d691e6a3 (diff) | |
download | hercules-f26dbc30528f8627310fa03f46cefd940ee40588.tar.gz hercules-f26dbc30528f8627310fa03f46cefd940ee40588.tar.bz2 hercules-f26dbc30528f8627310fa03f46cefd940ee40588.tar.xz hercules-f26dbc30528f8627310fa03f46cefd940ee40588.zip |
Fixed some gcc-specific stuff, silenced some more warnings
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11515 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index a1f5c8b05..2db05ed82 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4565,12 +4565,12 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in if(skilllv == 1) { // possibility to skip menu [LuzZza] if(!battle_config.skip_teleport_lv1_menu && sd->skillitem != AL_TELEPORT) - clif_skill_warppoint(sd,skillid,skilllv, -1,0,0,0); + clif_skill_warppoint(sd,skillid,skilllv, (unsigned short)-1,0,0,0); else pc_randomwarp(sd,3); } else { if (sd->skillitem != AL_TELEPORT) - clif_skill_warppoint(sd,skillid,skilllv, -1,sd->status.save_point.map,0,0); + clif_skill_warppoint(sd,skillid,skilllv, (unsigned short)-1,sd->status.save_point.map,0,0); else //Autocasted Teleport level 2?? pc_setpos(sd,sd->status.save_point.map,sd->status.save_point.x,sd->status.save_point.y,3); } |