Skip to content

Commit

Permalink
Warnings fix
Browse files Browse the repository at this point in the history
  • Loading branch information
proller committed Jul 28, 2013
1 parent 037e84d commit 174285f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/map.cpp
Expand Up @@ -32,6 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "nodedef.h"
#include "gamedef.h"
#include "util/directiontables.h"
#include "util/mathconstants.h"
#include "rollback_interface.h"
#include "emerge.h"
#include "mapgen_v6.h"
Expand Down
2 changes: 1 addition & 1 deletion src/mapgen_math.cpp
Expand Up @@ -255,7 +255,7 @@ int MapgenMath::generateTerrain() {
*/
for (s16 z = node_min.Z; z <= node_max.Z; z++) {
for (s16 x = node_min.X; x <= node_max.X; x++, index++) {
Biome *biome = bmgr->biomes[biomemap[index]];
//Biome *biome = bmgr->biomes[biomemap[index]];
u32 i = vm->m_area.index(x, node_min.Y, z);
for (s16 y = node_min.Y; y <= node_max.Y; y++) {
v3f vec = (v3f(x, y, z) - center) * scale ;
Expand Down

0 comments on commit 174285f

Please sign in to comment.