mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 04:20:42 +00:00
- Renamed dword_138BB0 -> gCultTeslaFireChance
copied from NBlood commit c253f4af105b0c588d585f199cfc20021f4f6d4e
This commit is contained in:
parent
b452f53ff2
commit
98c985de73
3 changed files with 3 additions and 3 deletions
|
@ -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 };
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue