T2s in tech / Bugfixes
This commit is contained in:
@@ -114,7 +114,7 @@ public final class FogRenderer{
|
||||
Draw.color(state.rules.dynamicColor);
|
||||
Draw.fbo(dynamicFog.getTexture(), world.width(), world.height(), tilesize);
|
||||
//TODO ai check?
|
||||
if(state.rules.staticFog && !player.team().isAI()){
|
||||
if(state.rules.staticFog){
|
||||
//TODO why does this require a half-tile offset while dynamic does not
|
||||
Draw.color(state.rules.staticColor);
|
||||
Draw.fbo(staticFog.getTexture(), world.width(), world.height(), tilesize, tilesize/2f);
|
||||
|
||||
Reference in New Issue
Block a user