How about generating a n=random(2100) number, then loop through the tile[] array and use the nth non-empty tile found?
I have not clue whether this would be any better performance wise...
Need help implementing robust tile table
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Who is online
Users browsing this forum: Amazon [Bot], Google [Bot] and 9 guests