Class Menu Help

  • h3dg3hug
  • h3dg3hug's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 2 months ago #9942 by h3dg3hug
Class Menu Help was created by h3dg3hug
I'm trying to add help files to the class selection menu, using the code found here: drive.google.com/drive/folders/0B40XbRH2...4C3QUNEZeOe2odDWOpfA

It's almost working, but no matter what I do, the STATE wants to stay in CON_QCLASS_HELP, and never allow me to actually pick a class.
Here's my code, can you see what I'm missing?
Attachments:

Please Log in or Create an account to join the conversation.

More
1 year 1 month ago #9959 by cunning
Replied by cunning on topic Class Menu Help
IF that is your code, you clearly have a mistake. Your case CON_QCLASS does not have a break statement so it falls right into the next case and it hits STATE(d) = CON_QCLASS_HELP

your case needs to define the next STATE(d) and then break before you hit the next case statement.

Please Log in or Create an account to join the conversation.

Time to create page: 0.140 seconds