From aa2d2e05bc90b90ab503eff1f58bfc8c2b9c1741 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Tue, 7 Jan 2025 10:40:28 +0100 Subject: `make format` --- game/GameScene.cpp | 2 +- game/prefab/ZapperObject.cpp | 2 +- src/crepe/api/Engine.cpp | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/game/GameScene.cpp b/game/GameScene.cpp index c393ef7..1eefce1 100644 --- a/game/GameScene.cpp +++ b/game/GameScene.cpp @@ -21,8 +21,8 @@ #include "GameScene.h" #include "MoveCameraManualyScript.h" -#include "player/PlayerSubScene.h" #include "background/BackgroundSubScene.h" +#include "player/PlayerSubScene.h" #include "prefab/ZapperObject.h" using namespace crepe; diff --git a/game/prefab/ZapperObject.cpp b/game/prefab/ZapperObject.cpp index 944a53f..4055ac4 100644 --- a/game/prefab/ZapperObject.cpp +++ b/game/prefab/ZapperObject.cpp @@ -77,7 +77,7 @@ ZapperObject::ZapperObject(crepe::GameObject && base) body {add_component(Rigidbody::Data { .body_type = Rigidbody::BodyType::KINEMATIC, .kinematic_collision = false, - .collision_layer = COLL_LAY_ZAPPER, + .collision_layer = COLL_LAY_ZAPPER, })}, collider {add_component(vec2(0, 0))} { this->place(this->transform.position, 0, 300); diff --git a/src/crepe/api/Engine.cpp b/src/crepe/api/Engine.cpp index bfc1c4a..35743e3 100644 --- a/src/crepe/api/Engine.cpp +++ b/src/crepe/api/Engine.cpp @@ -70,4 +70,3 @@ void Engine::loop() { } } } - -- cgit v1.2.3