Skip to content

Commit 1b5c516

Browse files
committed
clang
1 parent e90bf77 commit 1b5c516

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

soh/soh/Enhancements/gameplaystats.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,11 +1263,11 @@ void RegisterGameplayStats() {
12631263
GameplayStats_AddCount(GameplayStats_GetCountObjectById(COUNT_BUSHES_CUT, STAT_TYPE_PLAYER));
12641264
}
12651265
});
1266-
COND_HOOK(OnActorUpdate, CVAR, [](void* refActor) {
1266+
COND_HOOK(OnActorUpdate, CVAR, [](void* refActor) {
12671267
Actor* actor = static_cast<Actor*>(refActor);
12681268
if (actor->id == ACTOR_EN_BOX) {
12691269
EnBox* actor = static_cast<EnBox*>(refActor);
1270-
1270+
12711271
if (actor->actionFunc != EnBox_Open) {
12721272
return;
12731273
}
@@ -1278,9 +1278,8 @@ void RegisterGameplayStats() {
12781278
}
12791279
if (actor->id == ACTOR_EN_KUSA) {
12801280
EnKusa* actor = static_cast<EnKusa*>(refActor);
1281-
//GameplayStats_AddCount(GameplayStats_GetCountObjectById(COUNT_BUSHES_CUT, STAT_TYPE_PLAYER));
1281+
// GameplayStats_AddCount(GameplayStats_GetCountObjectById(COUNT_BUSHES_CUT, STAT_TYPE_PLAYER));
12821282
}
1283-
12841283
});
12851284
COND_HOOK(OnSceneInit, CVAR, [](int16_t sceneNum) {
12861285
auto statObject = GameplayStats_GetObject((uint32_t)sceneNum, STAT_TYPE_SCENE);

soh/soh/Enhancements/gameplaystats.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ typedef enum {
125125
COUNT_PAUSES,
126126
COUNT_STEPS,
127127
COUNT_POTS_BROKEN,
128-
COUNT_BUSHES_CUT, // z_en_kusa.c
128+
COUNT_BUSHES_CUT, // z_en_kusa.c
129129
COUNT_SWORD_SWINGS,
130130
COUNT_SIDEHOPS,
131131
COUNT_BACKFLIPS,

soh/src/overlays/actors/ovl_En_Kusa/z_en_kusa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ void EnKusa_Fall(EnKusa* this, PlayState* play) {
386386
if (this->actor.bgCheckFlags & 0xB) {
387387
if (!(this->actor.bgCheckFlags & 0x20)) {
388388
SoundSource_PlaySfxAtFixedWorldPos(play, &this->actor.world.pos, 20, NA_SE_EV_PLANT_BROKEN);
389-
//gSaveContext.ship.stats.count[COUNT_BUSHES_CUT]++;
389+
// gSaveContext.ship.stats.count[COUNT_BUSHES_CUT]++;
390390
}
391391
EnKusa_SpawnFragments(this, play);
392392
EnKusa_DropCollectible(this, play);

0 commit comments

Comments
 (0)