SVN Builds
#13
(rand() % 3) ranges between 0 and 2, if you want a value between 1 and 2, use (rand()%2+1)

Also, you're declaring the same variable twice (illegal)
Reply
Thanks given by:


Messages In This Thread



Users browsing this thread: 8 Guest(s)