also scale torches

This commit is contained in:
Demur Rumed 2025-06-08 18:16:08 +00:00
commit 6818e4251d

View file

@ -8,6 +8,7 @@
#include "overlays/actors/ovl_En_Arrow/z_en_arrow.h"
#include "objects/gameplay_keep/gameplay_keep.h"
#include "objects/object_syokudai/object_syokudai.h"
#include "soh/Enhancements/game-interactor/GameInteractor_Hooks.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_HOOKSHOT_PULLS_PLAYER)
@ -240,7 +241,9 @@ void ObjSyokudai_Update(Actor* thisx, PlayState* play2) {
CollisionCheck_SetAC(play, &play->colChkCtx, &this->colliderFlame.base);
if (this->litTimer > 0) {
this->litTimer--;
if (GameInteractor_Should(VB_SWITCH_TIMER_TICK, true, &this->litTimer)) {
this->litTimer--;
}
if ((this->litTimer == 0) && (torchType != 0)) {
sLitTorchCount--;
}