mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
also scale torches
This commit is contained in:
parent
ab0b60e0b0
commit
6818e4251d
1 changed files with 4 additions and 1 deletions
|
@ -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--;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue