Skip to content

Commit

Permalink
Fix yet another asset bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Areldir committed Mar 18, 2024
1 parent cb3ac71 commit 084adc8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/building/image.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,17 +211,17 @@ int building_image_get(const building *b)
if (!b->upgrade_level) {
return image_group(GROUP_BUILDING_SCHOOL);
} else {
return assets_get_image_id("Health_Education", "Upgraded_School");
return assets_get_image_id("Health_Culture", "Upgraded_School");
}
case BUILDING_ACADEMY:
if (!b->upgrade_level) {
return assets_get_image_id("Health_Education", "Academy_Fix");
return assets_get_image_id("Health_Culture", "Academy_Fix");
} else {
return assets_get_image_id("Health_Education", "Upgraded_Academy");
return assets_get_image_id("Health_Culture", "Upgraded_Academy");
}
case BUILDING_LIBRARY:
if (!b->upgrade_level) {
return assets_get_image_id("Health_Education", "Downgraded_Library");
return assets_get_image_id("Health_Culture", "Downgraded_Library");
} else {
return image_group(GROUP_BUILDING_LIBRARY);
}
Expand Down

0 comments on commit 084adc8

Please sign in to comment.