Jump to content
  • 0

Error Recompile


Bringer

Question


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  737
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

i got error when recompile anyone help me?
 

skill.c:21173: warning: conflicting typesfor ‘DOTASWAPfu’
skill.c:6306: warning: previous implicit declaration of ‘DOTASWAPfu’ was here
case DOTASWAP: 
       DOTASWAPfu(src,bl);
            clif_skill_nodamage(src,bl,skill_id,skill_lv,0);
            break;
void DOTASWAPfu (struct block_list *src, struct block_list *bl){
    int x=0, y=0;
    x=src->x;
    y=src->y;
    unit_movepos(src, bl->x, bl->y, 1, 1);
    clif_slide(src,bl->x,bl->y);
    unit_movepos(bl, x, y, 1, 1);
    clif_slide(bl,x,y);
    clif_specialeffect(bl,34,AREA);
    clif_specialeffect(src,34,AREA);
    return;
}
Edited by Bringer
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  737
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

BUMP Please Help

skill.c:21173: warning: conflicting typesfor ‘DOTASWAPfu’

skill.c:6306: warning: previous implicit declaration of ‘DOTASWAPfu’ was here
case DOTASWAP: 
       DOTASWAPfu(src,bl);
            clif_skill_nodamage(src,bl,skill_id,skill_lv,0);
            break;
void DOTASWAPfu (struct block_list *src, struct block_list *bl){
    int x=0, y=0;
    x=src->x;
    y=src->y;
    unit_movepos(src, bl->x, bl->y, 1, 1);
    clif_slide(src,bl->x,bl->y);
    unit_movepos(bl, x, y, 1, 1);
    clif_slide(bl,x,y);
    clif_specialeffect(bl,34,AREA);
    clif_specialeffect(src,34,AREA);
    return;
}
Edited by Bringer
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

bump

What part of do not bump unless providing additional information don't you understand? Thank you.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...