File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ struct work_hook : df::building_workshopst{
102
102
// try getting ref, if not return from definition
103
103
if (ref)
104
104
{
105
- info->produced = ref->unk_1 ;
106
- info->consumed = ref->unk_2 ;
105
+ info->produced = ref->race ;
106
+ info->consumed = ref->caste ;
107
107
return true ;
108
108
}
109
109
else
@@ -132,18 +132,18 @@ struct work_hook : df::building_workshopst{
132
132
// if we have a setting then update it, else create a new ref for dynamic power tracking
133
133
if (ref)
134
134
{
135
- ref->unk_1 = produced;
136
- ref->unk_2 = consumed;
135
+ ref->race = produced;
136
+ ref->caste = consumed;
137
137
}
138
138
else
139
139
{
140
140
ref = df::allocate<df::general_ref_creaturest>();
141
- ref->unk_1 = produced;
142
- ref->unk_2 = consumed;
141
+ ref->race = produced;
142
+ ref->caste = consumed;
143
143
general_refs.push_back (ref);
144
144
}
145
145
}
146
- DEFINE_VMETHOD_INTERPOSE (uint32_t ,getImpassableOccupancy,())
146
+ DEFINE_VMETHOD_INTERPOSE (df::tile_building_occ ,getImpassableOccupancy,())
147
147
{
148
148
if (auto def = find_def ())
149
149
{
You can’t perform that action at this time.
0 commit comments