aboutsummaryrefslogtreecommitdiff
path: root/src/crepe
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-08 14:59:18 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-08 14:59:18 +0100
commit9ead13a796f188abb502f29b0efa136b9c73fda4 (patch)
treec55726b8488092355738d33384ca893dff30a027 /src/crepe
parent1dbf6855eb8fcafb411c92257cd10af13e3562f1 (diff)
parent0b9574bdd6c5968c07bcf165d66032b75649b5da (diff)
Merge branch 'master' of github.com:lonkaars/crepe into jaro/game
Diffstat (limited to 'src/crepe')
-rw-r--r--src/crepe/api/Sprite.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/crepe/api/Sprite.cpp b/src/crepe/api/Sprite.cpp
index 2919857..3c77e2e 100644
--- a/src/crepe/api/Sprite.cpp
+++ b/src/crepe/api/Sprite.cpp
@@ -20,9 +20,7 @@ Sprite::Sprite(game_object_id_t id, const Asset & texture, const Sprite::Data &
Sprite::~Sprite() { dbg_trace(); }
-unique_ptr<Component> Sprite::save() const {
- return unique_ptr<Component>(new Sprite(*this));
-}
+unique_ptr<Component> Sprite::save() const { return unique_ptr<Component>(new Sprite(*this)); }
void Sprite::restore(const Component & snapshot) {
*this = static_cast<const Sprite &>(snapshot);