forked from oerkki/voxelands
don't assign the same value twice there
This commit is contained in:
parent
e00208bcdd
commit
c7910d0af2
|
@ -2297,7 +2297,8 @@ void the_game(
|
|||
}
|
||||
MapBlock *block = client.getEnv().getMap().getBlockNoCreateNoEx(getNodeBlockPos(spos));
|
||||
snode = client.getEnv().getMap().getNodeNoEx(spos,NULL);
|
||||
biome = (block == NULL) ? BIOME_UNKNOWN : block->getBiome();
|
||||
if (block != NULL)
|
||||
biome = block->getBiome();
|
||||
}
|
||||
|
||||
LocalPlayer *p = client.getLocalPlayer();
|
||||
|
|
Loading…
Reference in New Issue