Proper indentation.

This commit is contained in:
Faerbit 2014-11-05 12:50:25 +01:00
parent 2be57a8c33
commit 9926ad9252

View File

@ -19,10 +19,10 @@ void Terrain::load() {
heightmap = new unsigned int*[height]; //initialize the heightmap
for(rowNum=0; rowNum<height; rowNum++){ //read in the heightmap
heightmap[rowNum] = new unsigned int[width];
for(columnNum=0; columnNum<width; columnNum++){
terrain_png.read((char *)&heightmap[rowNum][columnNum], 1);
}
heightmap[rowNum] = new unsigned int[width];
for(columnNum=0; columnNum<width; columnNum++){
terrain_png.read((char *)&heightmap[rowNum][columnNum], 1);
}
}