Fixed #7022
This commit is contained in:
@@ -476,6 +476,7 @@ public class BlockIndexer{
|
||||
notifyBuildDamaged(tile.build);
|
||||
}
|
||||
|
||||
if(blocksPresent != null){
|
||||
if(!tile.block().isStatic()){
|
||||
blocksPresent[tile.floorID()] = true;
|
||||
blocksPresent[tile.overlayID()] = true;
|
||||
@@ -484,6 +485,8 @@ public class BlockIndexer{
|
||||
if(tile.blockID() < blocksPresent.length) blocksPresent[tile.blockID()] = true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static class TurretQuadtree extends QuadTree<Building>{
|
||||
|
||||
public TurretQuadtree(Rect bounds){
|
||||
|
||||
Reference in New Issue
Block a user