Jump to content
  • 0

itemmap problem by xantara


Question

Posted

itemmap by xantara was work on my version 17348.......but a bit problem......help me to settle this

 

pc.c: In function âpc_getitem_mapâ:
pc.c:4102: warning: suggest parentheses around assignment used as truth value
the script on that line(4102): if ( flag = pc_additem(sd,&it,count,log_type) )
 
script.c: In function âbuildin_getitem_map_subâ:
script.c:6460: warning: unused variable âpâ
script.c:6459: warning: unused variable âgâ
the script on that line(6460): struct party_data *p = NULL;
the script on that line(6459): struct guild *g = NULL;
 
atcommand.c: In function âatcommand_itemmapâ:
atcommand.c:1275: warning: suggest parentheses around â&&â within â||â
the script on that line(1275):  && sscanf(message, "%99s %d", item_name, &amount) < 1 )
 
thx so much for ur help......

 

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...