diff --git a/source/games/blood/src/ai.cpp b/source/games/blood/src/ai.cpp index b4b1aa4e7..1a65bb047 100644 --- a/source/games/blood/src/ai.cpp +++ b/source/games/blood/src/ai.cpp @@ -35,7 +35,7 @@ void RecoilDude(DBloodActor* actor); AISTATE genIdle = { kAiStateGenIdle, 0, -1, 0, NULL, NULL, NULL, NULL }; AISTATE genRecoil = { kAiStateRecoil, 5, -1, 20, NULL, NULL, NULL, &genIdle }; -const int dword_138BB0[5] = { 0x2000, 0x4000, 0x8000, 0xa000, 0xe000 }; +const int gCultTeslaFireChance[5] = { 0x2000, 0x4000, 0x8000, 0xa000, 0xe000 }; //--------------------------------------------------------------------------- // diff --git a/source/games/blood/src/ai.h b/source/games/blood/src/ai.h index 8c1e565d3..9bc1deb20 100644 --- a/source/games/blood/src/ai.h +++ b/source/games/blood/src/ai.h @@ -75,7 +75,7 @@ struct TARGETTRACK { int at10; // Move predict }; -extern const int dword_138BB0[5]; +extern const int gCultTeslaFireChance[5]; bool dudeIsPlayingSeq(DBloodActor* pSprite, int nSeq); void aiPlay3DSound(DBloodActor* pSprite, int a2, AI_SFX_PRIORITY a3, int a4); diff --git a/source/games/blood/src/aicult.cpp b/source/games/blood/src/aicult.cpp index f82645397..b949d95c2 100644 --- a/source/games/blood/src/aicult.cpp +++ b/source/games/blood/src/aicult.cpp @@ -87,7 +87,7 @@ void TommySeqCallback(int, DBloodActor* actor) void TeslaSeqCallback(int, DBloodActor* actor) { - if (Chance(dword_138BB0[gGameOptions.nDifficulty])) + if (Chance(gCultTeslaFireChance[gGameOptions.nDifficulty])) { int dx = bcos(actor->spr.ang); int dy = bsin(actor->spr.ang);