diff --git a/core/assets/shaders/water.frag b/core/assets/shaders/water.frag index 9e1c8e650f..30679b2da5 100644 --- a/core/assets/shaders/water.frag +++ b/core/assets/shaders/water.frag @@ -20,7 +20,6 @@ void main(){ float stime = u_time / 5.0; vec4 sampled = texture2D(u_texture, c + vec2(sin(stime/3.0 + coords.y/0.75) * v.x, 0.0)); - vec3 color = sampled.rgb * vec3(0.9, 0.9, 1); float tester = mod((coords.x + coords.y*1.1 + sin(stime / 8.0 + coords.x/5.0 - coords.y/100.0)*2.0) + diff --git a/core/src/mindustry/world/blocks/environment/Floor.java b/core/src/mindustry/world/blocks/environment/Floor.java index b942941799..dc056da237 100644 --- a/core/src/mindustry/world/blocks/environment/Floor.java +++ b/core/src/mindustry/world/blocks/environment/Floor.java @@ -255,7 +255,7 @@ public class Floor extends Block{ Point2 point = Geometry.d8[i]; Tile other = tile.nearby(point); - if(other != null && doEdge(tile, other, other.floor()) && other.floor().cacheLayer == realCache && other.floor().edges() != null){ + if(other != null && doEdge(tile, other, other.floor()) && other.floor().cacheLayer == realCache && other.floor().edges() != null && other.floor() != Blocks.empty){ if(!blended.getAndSet(other.floor().id)){ blenders.add(other.floor());