aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game/GameScene.cpp2
-rw-r--r--game/prefab/ZapperObject.cpp2
-rw-r--r--src/crepe/api/Engine.cpp1
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>(Rigidbody::Data {
.body_type = Rigidbody::BodyType::KINEMATIC,
.kinematic_collision = false,
- .collision_layer = COLL_LAY_ZAPPER,
+ .collision_layer = COLL_LAY_ZAPPER,
})},
collider {add_component<BoxCollider>(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() {
}
}
}
-