Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix warnings
  • Loading branch information
proller committed Apr 18, 2014
1 parent 0279f32 commit 4977b73
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/game.cpp
Expand Up @@ -2677,7 +2677,6 @@ void the_game(bool &kill, bool random_input, InputHandler *input,
camera.step(dtime);

v3f player_position = player->getPosition();
v3s16 pos_i = floatToInt(player_position, BS);
v3f camera_position = camera.getPosition();
v3f camera_direction = camera.getDirection();
f32 camera_fov = camera.getFovMax();
Expand Down
1 change: 0 additions & 1 deletion src/map.cpp
Expand Up @@ -2754,7 +2754,6 @@ MapBlock *ServerMap::getBlockOrEmerge(v3s16 p3d)
}

void ServerMap::prepareBlock(MapBlock *block) {
ServerEnvironment *senv = &((Server *)m_gamedef)->getEnv();
}

s16 ServerMap::findGroundLevel(v2s16 p2d)
Expand Down
2 changes: 1 addition & 1 deletion src/mapgen.cpp
Expand Up @@ -977,7 +977,7 @@ void Mapgen::updateHeightmap(v3s16 nmin, v3s16 nmax) {


void Mapgen::updateLiquid(UniqueQueue<v3s16> *trans_liquid, v3s16 nmin, v3s16 nmax) {
bool isliquid, wasliquid, rare;
bool isliquid, wasliquid;
v3s16 em = vm->m_area.getExtent();

for (s16 z = nmin.Z; z <= nmax.Z; z++) {
Expand Down

0 comments on commit 4977b73

Please sign in to comment.