Jump to content

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

 

case WEAPON_SWORD:
case COSTUME_SWORD:
    dwMode = MOTION_MODE_ONEHAND_SWORD;
    break;
 
char.cpp:2797: error: duplicate case value
char.cpp:2785: error: previously used here
 
???

 

case WEAPON_SWORD:
    break;
case COSTUME_SWORD:
    dwMode = MOTION_MODE_ONEHAND_SWORD;
    break;
Link to comment
https://metin2.dev/topic/5180-switch-c/#findComment-32984
Share on other sites

char.cpp:2797: error: duplicate case value
char.cpp:2785: error: previously used here
 
So, you better give us the whole switch statement. Otherwise nobody can help you. Duplicate case value should explain everything. But it's not only these two lines. Look at the error code. Line 2797 and 2785 are affected. So guess what? We need the whole switch statement.

what would you do in a battle of survival?

It's coming soon

Link to comment
https://metin2.dev/topic/5180-switch-c/#findComment-33001
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.