fix liquid render not upddating after clearing all liquid from a tile
This commit is contained in:
@@ -20,7 +20,7 @@ void LiquidRender::draw(math::frustum const& frustum
|
||||
, LiquidTextureManager* tex_manager
|
||||
)
|
||||
{
|
||||
if (!_map_tile->Water.hasData())
|
||||
if (!_map_tile->Water.hasData() && !_map_tile->Water.needsUpdate())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user