Use DV_MBF instead of literal in A_RandomJump() (#1674)

This commit is contained in:
Alaux 2024-05-01 04:47:30 -03:00 committed by GitHub
parent 5f3d6a15fb
commit 2a04ddbca5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2784,7 +2784,7 @@ void A_PlaySound(mobj_t *mo)
void A_RandomJump(mobj_t *mo)
{
if (demo_version < 203)
if (demo_version < DV_MBF)
return;
if (P_Random(pr_randomjump) < mo->state->misc2)
P_SetMobjState(mo, mo->state->misc1);