aboutsummaryrefslogtreecommitdiff
path: root/game/preview/PrevPlayerSubScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/preview/PrevPlayerSubScene.cpp')
-rw-r--r--game/preview/PrevPlayerSubScene.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/game/preview/PrevPlayerSubScene.cpp b/game/preview/PrevPlayerSubScene.cpp
index 3f5a5d5..9ff111c 100644
--- a/game/preview/PrevPlayerSubScene.cpp
+++ b/game/preview/PrevPlayerSubScene.cpp
@@ -17,8 +17,7 @@ using namespace crepe;
PrevPlayerSubScene::PrevPlayerSubScene(Scene & scn) {
- GameObject player
- = scn.new_object("player", "player", vec2 {800 , -100}, 0, 1);
+ GameObject player = scn.new_object("player", "player", vec2 {800, -100}, 0, 1);
Asset player_body_asset {"asset/barry/defaultBody.png"};
Sprite & player_body_sprite = player.add_component<Sprite>(
player_body_asset,