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