Anyone who understands about source could give me a help, I'm with a mod here, but it is with an error in that part when compiling, could you tell me the solution
5>c:\users\renato\downloads\ragnarok\rathena\src\map\atcommand_ranked_func.inc(218): error C2664: 'void ranked_update_rank(map_session_data *,float,ranked_update,ranked_msg_points)': cannot convert argument 3 from 'int' to 'ranked_update'
5> c:\users\renato\downloads\ragnarok\rathena\src\map\atcommand_ranked_func.inc(218): note: Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
5>c:\users\renato\downloads\ragnarok\rathena\src\map\atcommand_ranked_func.inc(244): error C2664: 'void ranked_update_rank(map_session_data *,float,ranked_update,ranked_msg_points)': cannot convert argument 3 from 'int' to 'ranked_update'
5> c:\users\renato\downloads\ragnarok\rathena\src\map\atcommand_ranked_func.inc(244): note: Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
Question
Haikenz
Anyone who understands about source could give me a help, I'm with a mod here, but it is with an error in that part when compiling, could you tell me the solution
5>c:\users\renato\downloads\ragnarok\rathena\src\map\atcommand_ranked_func.inc(218): error C2664: 'void ranked_update_rank(map_session_data *,float,ranked_update,ranked_msg_points)': cannot convert argument 3 from 'int' to 'ranked_update' 5> c:\users\renato\downloads\ragnarok\rathena\src\map\atcommand_ranked_func.inc(218): note: Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) 5>c:\users\renato\downloads\ragnarok\rathena\src\map\atcommand_ranked_func.inc(244): error C2664: 'void ranked_update_rank(map_session_data *,float,ranked_update,ranked_msg_points)': cannot convert argument 3 from 'int' to 'ranked_update' 5> c:\users\renato\downloads\ragnarok\rathena\src\map\atcommand_ranked_func.inc(244): note: Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
atcommand_ranked_func.inc
Link to comment
Share on other sites
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.