I added 2 new costum map on mapindex.h then when compiling i got error like this
skill.c error:
case ECLAGE_RECALL:
if( sd )
{
short x, y; // Destiny position.
unsigned short mapindex; << this line and one line below (but i think its not necessary because its blank line)
if ( skill_id == RETURN_TO_ELDICASTES )
{
x = 198;
y = 187;
mapindex = mapindex_name2id(MAP_DICASTES);
}
else if ( skill_id == ALL_GUARDIAN_RECALL )
{
x = 44;
y = 151;
mapindex = mapindex_name2id(MAP_MORA);
}
else if ( skill_id == ECLAGE_RECALL )
{
x = 47;
y = 31;
mapindex = mapindex_name2id("ecl_in01");
}
if(!mapindex)
{ //Given map not found?
clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
map_freeblock_unlock();
return 0;
}
pc_setpos(sd, mapindex, x, y, CLR_TELEPORT);
}
break;
Question
Kaito Kid
Anyone know how to fixed this?
I added 2 new costum map on mapindex.h then when compiling i got error like this
skill.c error:
Thanks for advice
Edited by Kaito KidLink to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.