Fix type in extract_common.py (BzTileID)

This commit is contained in:
2024-01-06 19:55:40 +01:00
parent f667614cfe
commit 114a464c95
2 changed files with 4 additions and 4 deletions

View File

@@ -279,7 +279,7 @@ static BuildingType getTileBuilding(BzTileID tile) {
}
}
static BuildingType getBuildingTile(BuildingType type) {
static BzTileID getBuildingTile(BuildingType type) {
switch (type) {
case BUILDING_KEEP: return 5892;
default: return -1;
@@ -332,7 +332,7 @@ typedef enum AnimType {
ANIM_NONE,
} AnimType;
static EntityType getEntityTile(EntityType type) {
static BzTileID getEntityTile(EntityType type) {
switch (type) {
case ENTITY_WORKER: return 27;
case ENTITY_WOOD: return 7424;
@@ -418,7 +418,7 @@ typedef enum ItemType {
ITEM_NONE,
} ItemType;
static ItemType getItemTile(ItemType type) {
static BzTileID getItemTile(ItemType type) {
switch (type) {
case ITEM_STAFF: return 7680;
case ITEM_PICKAXE: return 7681;