uh, am I doing this right?
case MO_BODYRELOCATION:
if (unit_movepos(src, x, y, 1, 1)) {
// clif_skill_poseffect(src,skillid,skilllv,src->x,src->y,tick);
clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client...
clif_skill_nodamage(src,src,skillid,skilllv,1);
int dir = map_calc_dir(src, x, y );
unit_setdir(src,dir);
if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000);
}
'cause whenever I compile it, I get this error.
1>..srcmapskill.c(8360): error C2143: syntax error : missing ';' before 'type'
1>..srcmapskill.c(8361): error C2065: 'dir' : undeclared identifier
Thank you.