Hey gamedev
Straight to the point, I'm using rand() to randomise where my enemies spawn each time you play, but for some reason every time I run the game they are always in the same position as they were last time I played. It seems like rand() is using the same seed every time, but I pass time to srand. Any ideas?
CODE! :D
Heres the seeding of srand
And here's where I initialize enemy positions, in Zombies constructor
Thanks :)