Skip to content

Commit db9201d

Browse files
committed
clang
1 parent 69026c4 commit db9201d

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

soh/soh/Enhancements/Holiday/Fredomato.cpp

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -503,14 +503,10 @@ void MoveTreeActors(void* treeActor) {
503503
tree->world.pos.z = end.z;
504504
}
505505

506-
507-
508506
static void OnConfigurationChanged() {
509507
// New Fred Ketchmas
510-
COND_ID_HOOK(OnActorUpdate, ACTOR_EN_WOOD02, CVarGetInteger(CVAR("FredTest.Enabled"), 0), [](void* actorRef) {
511-
MoveTreeActors(actorRef);
512-
});
513-
508+
COND_ID_HOOK(OnActorUpdate, ACTOR_EN_WOOD02, CVarGetInteger(CVAR("FredTest.Enabled"), 0),
509+
[](void* actorRef) { MoveTreeActors(actorRef); });
514510

515511
COND_HOOK(OnSceneSpawnActors, CVarGetInteger(CVAR("FredsQuest.Enabled"), 0), OnSceneInit);
516512

@@ -534,8 +530,6 @@ static void OnConfigurationChanged() {
534530
*should = false;
535531
}
536532
});
537-
538-
539533
}
540534

541535
static void RegisterMenu() {
@@ -549,8 +543,7 @@ static void RegisterMenu() {
549543

550544
SohGui::mSohMenu->AddWidget(path, "FredTest", WIDGET_CVAR_CHECKBOX)
551545
.CVar(CVAR("FredTest.Enabled"))
552-
.Options(UIWidgets::CheckboxOptions().Tooltip(
553-
"Aaaaaaaaah!"));
546+
.Options(UIWidgets::CheckboxOptions().Tooltip("Aaaaaaaaah!"));
554547

555548
SohGui::mSohMenu->AddWidget(path, "Trap Lifetime (Seconds)", WIDGET_CVAR_SLIDER_INT)
556549
.CVar(CVAR("RandomTraps.Lifetime"))

0 commit comments

Comments
 (0)