Jump to content
  • 0

when adding custom job


FutureGazer

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  06/06/12
  • Last Seen:  

Im got this warning after compile;

 

itemdb.c: In function âitemdb_jobid2mapidâ:
itemdb.c:274: warning: left shift count >= width of type
itemdb.c:276: warning: left shift count >= width of type
itemdb.c:278: warning: left shift count >= width of type
itemdb.c:280: warning: left shift count >= width of type
itemdb.c:282: warning: left shift count >= width of type
 
My editing source is like this;
 
    if (jobmask & 1<<35) //Akatsuki
           bclass[0] |= 1<<MAPID_AKATSUKI;
    if (jobmask & 1<<36) //Horou
           bclass[0] |= 1<<MAPID_HOROU;
    if (jobmask & 1<<37) //Hokage3
           bclass[0] |= 1<<MAPID_HOKAGE3;
    if (jobmask & 1<<38) //Hokage4
           bclass[0] |= 1<<MAPID_HOKAGE4;
    if (jobmask & 1<<39) //Rempit
           bclass[0] |= 1<<MAPID_REMPIT;
}
 
thank you for helping........
 

 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

what are you trying to do in itemdb.c

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