From 1f27ece49b141542bc3fc8b75eea1679ce10ba44 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Thu, 3 Nov 2022 20:23:50 +0000 Subject: [PATCH] VarAction2: Fix wrong bit used for industry tile anim callback mask --- src/newgrf_industrytiles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp index 21c633225d..9be47c7557 100644 --- a/src/newgrf_industrytiles.cpp +++ b/src/newgrf_industrytiles.cpp @@ -430,7 +430,7 @@ void AnalyseIndustryTileSpriteGroups() const IndustryTileSpec &tilespec = _industry_tile_specs[gfx]; if (tilespec.grf_prop.spritegroup[0] == nullptr) continue; - if (HasBit(tilespec.callback_mask, CBID_INDTILE_ANIM_NEXT_FRAME)) { + if (HasBit(tilespec.callback_mask, CBM_INDT_ANIM_NEXT_FRAME)) { /* There may be sound effects, or custom animation start/stop behaviour, don't inhibit */ continue; }