Jump to content
  • 0

need some help


Blazing Spear

Question


  • Group:  Members
  • Topic Count:  58
  • Topics Per Day:  0.01
  • Content Count:  208
  • Reputation:   1
  • Joined:  01/06/12
  • Last Seen:  

about aura set commands

\src\map\clif.h(748): warning C4028: formal parameter 2 different from declaration

src\map\clif.c(8454): error C2084: function 'void clif_sendauras(map_session_data *,send_target)' already has a body
src\map\clif.h(701) : see previous definition of 'clif_sendauras'
src\map\clif.c(8475): error C2084: function 'void clif_sendaurastoone(map_session_data *,map_session_data *)' already has a body
src\map\clif.h(749) : see previous definition of 'clif_sendaurastoone'

clif.c

/*==========================================
* Aura System
*------------------------------------------*/
void clif_sendauras( struct map_session_data *sd, int target )
{
int effect1;
int effect2;
effect1 = sd->status.aura1;
effect2 = sd->status.aura2;

if (sd->status.option & OPTION_HIDE)
return;

if (effect1 > 0)
clif_specialeffect(&sd->bl, effect1, target);

if (effect2 > 0)
clif_specialeffect(&sd->bl, effect2, target);
}

clif.h

// Aura System
int clif_specialeffecttoone(struct block_list *bl, struct block_list *dst, int type);
void clif_sendauras( struct map_session_data *sd, int target );
void clif_sendaurastoone(struct map_session_data *sd, struct map_session_data *dsd);
void clif_getareachar_char2(struct map_session_data* sd,struct block_list *bl);
int clif_insight2(struct block_list *bl,va_list ap);

what is wrong with the target??

Edited by Mysterious
Please use [codebox] for content longer than 10 lines.
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...