remove isHospital as hospitals are no longer civzones

develop
Roxy 2023-02-06 19:11:00 -05:00
parent ca5a17a799
commit 826f918954
2 changed files with 0 additions and 10 deletions

@ -275,7 +275,6 @@ DFHACK_EXPORT bool isActivityZone(df::building * building);
DFHACK_EXPORT bool isPenPasture(df::building * building);
DFHACK_EXPORT bool isPitPond(df::building * building);
DFHACK_EXPORT bool isActive(df::building * building);
DFHACK_EXPORT bool isHospital(df::building * building);
DFHACK_EXPORT bool isAnimalTraining(df::building * building);
DFHACK_EXPORT df::building* findPenPitAt(df::coord coord);

@ -1608,15 +1608,6 @@ bool Buildings::isActive(df::building * building)
return ((df::building_civzonest*)building)->is_active == 8;
}
bool Buildings::isHospital(df::building * building)
{
if (!isActivityZone(building))
return false;
/* TODO: understand how this changes for v50
return ((df::building_civzonest*) building)->zone_flags.bits.hospital != 0;
*/ return false;
}
bool Buildings::isAnimalTraining(df::building * building)
{
if (!isActivityZone(building))