Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
Banner advertising on our site currently available from just $5!
1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!
Posted 08 February 2013 - 01:07 PM
uhm... title. Please help me the source code is below:
Posted 08 February 2013 - 01:13 PM
Posted 08 February 2013 - 01:14 PM
Posted 08 February 2013 - 01:19 PM
FleBlanc is correct. The variable arrayChooser never changes because you only call rand() once before the loop.
Posted 08 February 2013 - 09:07 PM
How could I fix this?? make a loop before the main loop that changed arrayChooser every time?
Posted 08 February 2013 - 09:35 PM
Edited by fastcall22, 08 February 2013 - 09:35 PM.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC