Compilation error

Posted by Jokerjfu on Wed 04 Jul 2001 10:28 PM — 2 posts, 12,503 views.

#0
I had mad some changes to act_comm.c and fight.c so I really don't think that had to do with this error. As it was compiling it got to act_wiz.c and said the following:

c:\windows\desktop\smaug1.4a.sce\act_wiz.c(3430) : error C2196: case value '500' already used

not sure what that is.
Later
Australia Forum Administrator #1
The error message gives you a clue. Look at line 3430.

You get this error if you do something like this:


switch (i)
{

case 500: break;
case 500: break;

} /* end of switch */


In this example you have used "case 500" twice.