Fix bombs not showing up (#3145)

This commit is contained in:
aMannus 2023-08-30 19:04:51 +02:00 committed by GitHub
parent f6c6bd0bec
commit 8ab9346f76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -267,7 +267,7 @@ void EnBom_Update(Actor* thisx, PlayState* play2) {
} }
// With random bomb fuse timer or gBombTimerMultiplier, sound effect and scaling is already done on init. // With random bomb fuse timer or gBombTimerMultiplier, sound effect and scaling is already done on init.
if (this->timer == 67 && !GameInteractor_GetRandomBombFuseTimerActive() && CVarGetFloat("gBombTimerMultiplier", 1.0f) != 1.0f) { if (this->timer == 67 && !GameInteractor_GetRandomBombFuseTimerActive() && CVarGetFloat("gBombTimerMultiplier", 1.0f) == 1.0f) {
Audio_PlayActorSound2(thisx, NA_SE_PL_TAKE_OUT_SHIELD); Audio_PlayActorSound2(thisx, NA_SE_PL_TAKE_OUT_SHIELD);
Actor_SetScale(thisx, 0.01f); Actor_SetScale(thisx, 0.01f);
} }