From 24fd873d96e1e6bc3284b404033802fb963e5c7f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 11 Feb 2023 12:55:19 +0100 Subject: serialize/anim: skip default value fields --- src/anim.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/anim.hpp b/src/anim.hpp index bee8147a..2927b7e3 100644 --- a/src/anim.hpp +++ b/src/anim.hpp @@ -47,13 +47,11 @@ struct anim_scale final struct anim_def final { - static constexpr int default_fps = 24; - String object_name, anim_name; std::vector groups; Vector2ui pixel_size; anim_scale scale; - std::size_t nframes = 0, fps = default_fps, actionframe = 0; + std::size_t nframes = 0, fps = 0, actionframe = 0; }; } // namespace floormat -- cgit v1.2.3