From 6acbe6327665fcbc915d1908b72f4ef22bcdf00b Mon Sep 17 00:00:00 2001 From: Klemen Plestenjak Date: Mon, 15 Jan 2024 11:51:18 +0100 Subject: [PATCH] Fix Mill asset --- game/game_tileset.h | 4 +--- rawAssets/game.tsj | 6 ++---- rawAssets/game.tsx | 4 ++-- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/game/game_tileset.h b/game/game_tileset.h index 72a94ce..2caabea 100644 --- a/game/game_tileset.h +++ b/game/game_tileset.h @@ -308,8 +308,6 @@ static BuildingType getTileBuilding(BzTileID tile) { case 6668: return BUILDING_HOUSE_06; case 6689: - case 6690: - case 6691: return BUILDING_MILL; case 6922: return BUILDING_HOUSE_07; @@ -425,7 +423,7 @@ static BuildingType getBuildingSize(BuildingType type, i32 *outWidth, i32 *outHe if (outHeight) *outHeight = 1; break; case BUILDING_MILL: - if (outWidth) *outWidth = 3; + if (outWidth) *outWidth = 1; if (outHeight) *outHeight = 1; break; case BUILDING_HOUSE_07: diff --git a/rawAssets/game.tsj b/rawAssets/game.tsj index 6f61956..aeb3905 100644 --- a/rawAssets/game.tsj +++ b/rawAssets/game.tsj @@ -6077,8 +6077,7 @@ "name":"building", "type":"string", "value":"" - }], - "type":"mill" + }] }, { "id":6691, @@ -6087,8 +6086,7 @@ "name":"building", "type":"string", "value":"" - }], - "type":"mill" + }] }, { "id":6912, diff --git a/rawAssets/game.tsx b/rawAssets/game.tsx index 8730ada..3cec650 100644 --- a/rawAssets/game.tsx +++ b/rawAssets/game.tsx @@ -2264,12 +2264,12 @@ - + - +