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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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