Fix Mill asset

This commit is contained in:
2024-01-15 11:51:18 +01:00
parent b2bf934c14
commit 6acbe63276
3 changed files with 5 additions and 9 deletions

View File

@@ -308,8 +308,6 @@ static BuildingType getTileBuilding(BzTileID tile) {
case 6668: case 6668:
return BUILDING_HOUSE_06; return BUILDING_HOUSE_06;
case 6689: case 6689:
case 6690:
case 6691:
return BUILDING_MILL; return BUILDING_MILL;
case 6922: case 6922:
return BUILDING_HOUSE_07; return BUILDING_HOUSE_07;
@@ -425,7 +423,7 @@ static BuildingType getBuildingSize(BuildingType type, i32 *outWidth, i32 *outHe
if (outHeight) *outHeight = 1; if (outHeight) *outHeight = 1;
break; break;
case BUILDING_MILL: case BUILDING_MILL:
if (outWidth) *outWidth = 3; if (outWidth) *outWidth = 1;
if (outHeight) *outHeight = 1; if (outHeight) *outHeight = 1;
break; break;
case BUILDING_HOUSE_07: case BUILDING_HOUSE_07:

View File

@@ -6077,8 +6077,7 @@
"name":"building", "name":"building",
"type":"string", "type":"string",
"value":"" "value":""
}], }]
"type":"mill"
}, },
{ {
"id":6691, "id":6691,
@@ -6087,8 +6086,7 @@
"name":"building", "name":"building",
"type":"string", "type":"string",
"value":"" "value":""
}], }]
"type":"mill"
}, },
{ {
"id":6912, "id":6912,

View File

@@ -2264,12 +2264,12 @@
<property name="building" value=""/> <property name="building" value=""/>
</properties> </properties>
</tile> </tile>
<tile id="6690" type="mill"> <tile id="6690">
<properties> <properties>
<property name="building" value=""/> <property name="building" value=""/>
</properties> </properties>
</tile> </tile>
<tile id="6691" type="mill"> <tile id="6691">
<properties> <properties>
<property name="building" value=""/> <property name="building" value=""/>
</properties> </properties>