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 06 May 2013 - 06:02 AM
 Alvaro beat me to it.
Posted 06 May 2013 - 06:01 AM
I think the problem here is you are erasing an item from a vector that you are currently iterating through.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC