Add idle animation
This commit is contained in:
@@ -65,7 +65,7 @@ ecs_entity_t placeBuilding(BzTileMap *map, BuildingType type, BzTile tileX, BzTi
|
||||
bzTileLayerSetTile(buildingLayer, layerTile, x, y, 1, 1);
|
||||
buildingTile++;
|
||||
|
||||
bzTileMapUpdateCollisions(map, x, y, map->tileWidth, map->tileHeight);
|
||||
bzTileMapUpdateCollisions(map, x, y, 1, 1);
|
||||
}
|
||||
buildingTile += buildingTileset->width - sizeX;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user