From e9a18fd476e9e21a6610c074e654f3d8b6a42a35 Mon Sep 17 00:00:00 2001 From: Joshua Peisach Date: Fri, 29 Mar 2024 13:51:38 -0400 Subject: [PATCH] Run clang-format --- .../src/gasstation/gasstationentity.cpp | 2 +- .../legoomni/src/isle/beachhouseentity.cpp | 18 +++++++++--------- .../legoomni/src/race/racestandsentity.cpp | 18 +++++++++--------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/LEGO1/lego/legoomni/src/gasstation/gasstationentity.cpp b/LEGO1/lego/legoomni/src/gasstation/gasstationentity.cpp index 39418602..ad220542 100644 --- a/LEGO1/lego/legoomni/src/gasstation/gasstationentity.cpp +++ b/LEGO1/lego/legoomni/src/gasstation/gasstationentity.cpp @@ -36,4 +36,4 @@ MxLong GasStationEntity::VTable0x50(MxParam& p_param) } return 1; -} \ No newline at end of file +} diff --git a/LEGO1/lego/legoomni/src/isle/beachhouseentity.cpp b/LEGO1/lego/legoomni/src/isle/beachhouseentity.cpp index e247c530..d03f80ed 100644 --- a/LEGO1/lego/legoomni/src/isle/beachhouseentity.cpp +++ b/LEGO1/lego/legoomni/src/isle/beachhouseentity.cpp @@ -17,20 +17,20 @@ DECOMP_SIZE_ASSERT(BeachHouseEntity, 0x68) // FUNCTION: LEGO1 0x100153b0 MxLong BeachHouseEntity::VTable0x50(MxParam& p_param) { - if (FUN_1003ef60()) { - Act1State* state = (Act1State*) GameState()->GetState("Act1State"); - state->SetUnknown18(0); + if (FUN_1003ef60()) { + Act1State* state = (Act1State*) GameState()->GetState("Act1State"); + state->SetUnknown18(0); - if (CurrentActor()->GetActorId() != GameState()->GetActorId()) { + if (CurrentActor()->GetActorId() != GameState()->GetActorId()) { CurrentActor()->VTable0xe4(); } - Isle* isle = (Isle*) FindWorld(*g_isleScript, IsleScript::c__Isle); + Isle* isle = (Isle*) FindWorld(*g_isleScript, IsleScript::c__Isle); isle->SetDestLocation(LegoGameState::Area::e_jetskibuild); - AnimationManager()->FUN_10061010(NULL); + AnimationManager()->FUN_10061010(NULL); TransitionManager()->StartTransition(MxTransitionManager::e_mosaic, 50, FALSE, FALSE); - } + } - return 1; -} \ No newline at end of file + return 1; +} diff --git a/LEGO1/lego/legoomni/src/race/racestandsentity.cpp b/LEGO1/lego/legoomni/src/race/racestandsentity.cpp index b063e9f0..e9cd723f 100644 --- a/LEGO1/lego/legoomni/src/race/racestandsentity.cpp +++ b/LEGO1/lego/legoomni/src/race/racestandsentity.cpp @@ -17,20 +17,20 @@ DECOMP_SIZE_ASSERT(RaceStandsEntity, 0x68) // FUNCTION: LEGO1 0x10015450 MxLong RaceStandsEntity::VTable0x50(MxParam& p_param) { - if (FUN_1003ef60()) { - Act1State* state = (Act1State*) GameState()->GetState("Act1State"); - state->SetUnknown18(0); + if (FUN_1003ef60()) { + Act1State* state = (Act1State*) GameState()->GetState("Act1State"); + state->SetUnknown18(0); - if (CurrentActor()->GetActorId() != GameState()->GetActorId()) { + if (CurrentActor()->GetActorId() != GameState()->GetActorId()) { CurrentActor()->VTable0xe4(); } - Isle* isle = (Isle*) FindWorld(*g_isleScript, IsleScript::c__Isle); + Isle* isle = (Isle*) FindWorld(*g_isleScript, IsleScript::c__Isle); isle->SetDestLocation(LegoGameState::Area::e_racecarbuild); - AnimationManager()->FUN_10061010(NULL); + AnimationManager()->FUN_10061010(NULL); TransitionManager()->StartTransition(MxTransitionManager::e_mosaic, 50, FALSE, FALSE); - } + } - return 1; -} \ No newline at end of file + return 1; +}