I'm having some kind of issue, printing some lines, it seems like a while loop type symptom.. but it's not...
https://github.com/Magicrafter13/MaVeRo-3D
in the main file (MaVeRo-3D.cpp) at line 477 I have a for loop which is supposed to draw some tiles, it gets to the end (prints drawing: 69, which is the end of the for loop obviously) but then it freezes. If I had some cout's in the drawing function it just prints text forever, I don't know why it's getting stuck, since it should draw the 69th one, and then set I to 70, thus ending the for loop. But I think it may have something to do with my use of vectors, since I am new to them, and probably messed something up.
--------------------- MERGED ---------------------------
If I change the number from 70 to 69 in the for loop, it freezes at 68. So I assume, that it always freezes at the last one, which just confuses me even more.
--------------------- MERGED ---------------------------
EDIT: I changed it to 1, and it doesn't lock up, but it doesn't draw the first tile either... but I suppose I can figure that out later. The main problem right now, is what's wrong with this for loop...
edit 2: if it's 3 or higher then it freezes. But 2 and 1 work (and probably 0, but that would be pointless).