skeeto/pixelcity

array out of bounds error. github noob... dono if its been fixed in some forking thingy?

Closed this issue · 0 comments

FYI. The debugger in VC++ 2008 Express found this error and led me to this code...

in void CBuilding::CreateSimple ()
...
for(int i=0; i<=10; i++)
...

needs to be?
...
for(int i=0; i<10; i++)