Skip to content

Commit

Permalink
Fixed flowing water turning into ice when snowing
Browse files Browse the repository at this point in the history
  • Loading branch information
NiLSPACE committed Feb 25, 2015
1 parent 81c49a0 commit a56b690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Chunk.cpp
Expand Up @@ -925,7 +925,7 @@ void cChunk::ApplyWeatherToTop()
{
SetBlock(X, Height + 1, Z, E_BLOCK_SNOW, 0);
}
else if ((TopBlock == E_BLOCK_WATER) || (TopBlock == E_BLOCK_STATIONARY_WATER))
else if (IsBlockWater(TopBlock) && (TopMeta == 0))
{
SetBlock(X, Height, Z, E_BLOCK_ICE, 0);
}
Expand Down

0 comments on commit a56b690

Please sign in to comment.