Jump to content
  • 0
Sign in to follow this  
Dastgir

Some Compiling Errors.

Question

1>status.c(6248): error C2039: 'pc_luk_sc_def' : is not a member of 'Battle_Config'
1> battle.h(84) : see declaration of 'Battle_Config'


 
		   sc_def += (battle_config.pc_max_sc_def - sc_def)*				status->luk/battle_config.pc_luk_sc_def;		else

1>status.c(6264): error C2039: 'mob_luk_sc_def' : is not a member of 'Battle_Config'
1> battle.h(84) : see declaration of 'Battle_Config'

 

 

	      sc_def += (battle_config.mob_max_sc_def - sc_def)*				status->luk/battle_config.mob_luk_sc_def;		else

 

1>clif.c(570): warning C4244: '=' : conversion from 'int16' to 'char', possible loss of data
1>clif.c(571): warning C4244: '=' : conversion from 'int16' to 'char', possible loss of data
	p.PosDir[0] = sd->bl.x;	p.PosDir[1] = sd->bl.y;

 

in void clif_authok(struct map_session_data *sd)

 

Using VC++ 2010

Edited by dastgirpojee

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Ohh its my editor mistake, not taking all charaters.

Do you know any good conflict editor?

 

1>clif.c(570): warning C4244: '=' : conversion from 'int16' to 'char', possible loss of data
1>clif.c(571): warning C4244: '=' : conversion from 'int16' to 'char', possible loss of data
This warning is still there.
Edited by dastgirpojee

Share this post


Link to post
Share on other sites
  • 0
1>clif.c(570): warning C4244: '=' : conversion from 'int16' to 'char', possible loss of data1>clif.c(571): warning C4244: '=' : conversion from 'int16' to 'char', possible loss of dataThis warning is still there.
that was fixed in the latest revision

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.