0

Hello, i have got no expereince at all with c++.. im just adding something to the source of my private server and i failed to do so because of the fact that it wasn't a tutorial on how to add it (just a release)

so here is the error:

error C2046: illegal case
error C2043: illegal break
error C2046: illegal case
error C2043: illegal break
error C2046: illegal case
error C2043: illegal break
error C2046: illegal case
error C2043: illegal break
error C2046: illegal case
error C2043: illegal break
error C2046: illegal case
error C2043: illegal break
error C2046: illegal case
error C2043: illegal break
error C2046: illegal case
error C2043: illegal break

here is the code itselfs:

#else               switch( nAbilityOption )
    {
    case 3: dwSfx = XI_GEN_ITEM_SETITEM03; break; 
    case 4: dwSfx = XI_GEN_ITEM_SETITEM04; break; 
    case 5: dwSfx = XI_GEN_ITEM_SETITEM05; break; 
    case 6: dwSfx = XI_GEN_ITEM_SETITEM06; break; 
    case 7: dwSfx = XI_GEN_ITEM_SETITEM07; break; 
    case 8: dwSfx = XI_GEN_ITEM_SETITEM08; break; 
    case 9: dwSfx = XI_GEN_ITEM_SETITEM09; break; 
    case 10: dwSfx = XI_GEN_ITEM_SETITEM10; break; 
    }
#endif

of course it's just a part of the whole code but i believe that this is what you need to be able to help me :) anyways i have someone could reply to me! thanks

2
Contributors
2
Replies
4
Views
4 Years
Discussion Span
Last Post by m20072
0

Thanks a lot much appericated!

Edited by m20072

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.