Don't you need "break" statements in that switch case? I'm not accustomed to Lite-C, but in real C you have to put break statements at the end of your cases to prevent the program from going through all of them at run time.


Eats commas for breakfast.

Play Barony: Cursed Edition!