Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
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