Add option to disable jump velocity boost with bunny hood (#1918)

This commit is contained in:
Garrett Cox 2022-11-06 03:05:34 -06:00 committed by GitHub
commit 2f6dea92c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -6033,7 +6033,7 @@ void func_8083DFE0(Player* this, f32* arg1, s16* arg2) {
}
}
if (CVar_GetS32("gMMBunnyHood", 0) && this->currentMask == PLAYER_MASK_BUNNY) {
if (CVar_GetS32("gMMBunnyHood", 0) == 1 && this->currentMask == PLAYER_MASK_BUNNY) {
maxSpeed *= 1.5f;
}