OneLoneCoder / CommandLineFPS

A First Person Shooter at the command line? Yup...
599 stars 173 forks source link

Drawing the map with different width and height values will result in bugs. #9

Open GuntranHoet opened 4 years ago

GuntranHoet commented 4 years ago

https://github.com/OneLoneCoder/CommandLineFPS/blob/b25beb721b9101e579d859f7507fdf2731011b30/CommandLineFPS.cpp#L271

This should be for (int ny = 0; ny < nMapHeight; ny++) instead.