VarAction2: Add constructor for AnalyseCallbackOperation

This commit is contained in:
Jonathan G Rennison
2022-08-21 18:43:55 +01:00
parent a0c894d067
commit 0bcdaba0f9
4 changed files with 12 additions and 16 deletions

View File

@@ -1602,7 +1602,7 @@ void AnalyseEngineCallbacks()
auto process_sg = [&](const SpriteGroup *sg, bool is_purchase) {
if (sg == nullptr) return;
AnalyseCallbackOperation op;
AnalyseCallbackOperation op(ACOM_CB_VAR);
sg->AnalyseCallbacks(op);
callbacks_used |= op.callbacks_used;
cb36_properties_used |= op.properties_used;