mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-24 05:21:15 -08:00
More empty floor bugfixes
This commit is contained in:
parent
6678729401
commit
07c7fd7dec
2 changed files with 1 additions and 2 deletions
|
|
@ -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) +
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue