explanatory comment for magic number

develop
Roxy 2023-02-06 19:09:47 -05:00
parent 0043e05895
commit ca5a17a799
1 changed files with 1 additions and 1 deletions

@ -1604,7 +1604,7 @@ bool Buildings::isActive(df::building * building)
{
if (!isActivityZone(building))
return false;
// 8 is the value obtained by reverse engineering
return ((df::building_civzonest*)building)->is_active == 8;
}