Solution:
Use a custom font for sf::Text...
Hi,
so, now me and some friends have started making a game from scratch using SFML (obviously..) and we have one problem that we cannot solve, neither can our programming teacher ( or he just refuses to explain how to solve this...);
we're getting this error when the program exits from main():
"Unhandled exception at 0x698ba051 in NTI-Zombie_Survival.exe: 0xC0000005: Access violation reading location 0x00000008."
It doesn't matter if we have an array of pointers to the objects or the objects itself, and it didn't help replacing the arrays with std::vector either (same goes for this, doesn't matter if we had a vector of pointers to the object or the object itself stored in the vector) we still got the error.
When did this error start?
No idea, after we made some changes (unfortunately before we started to document all the changes we do...) to the Player class and Zombie class is all that I can say.
Source code:
http://pastebin.com/ZNXLpskQ If anyone can figure out why this is happening (or, a solution would be even better
)... that'd be awesome.
Thanks in advance.
EDIT:
We are using SFML2 RC, forgot to mention that last night.