summaryrefslogtreecommitdiffhomepage
path: root/loader/json.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-07 23:38:31 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-08 08:43:49 +0100
commita6514d1a95d0f84f0935866215463ef6aed23e19 (patch)
tree639075646b1ea42a3cd4a76ae59af7dda0c4b14a /loader/json.cpp
parent4575194adb4615deeca174044a872093c3664ad4 (diff)
loader: work toward removing duplicate atlas code
Diffstat (limited to 'loader/json.cpp')
-rw-r--r--loader/json.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/json.cpp b/loader/json.cpp
index 5c7eecb5..d374571c 100644
--- a/loader/json.cpp
+++ b/loader/json.cpp
@@ -6,7 +6,7 @@
#include "serialize/anim.hpp"
#include "serialize/scenery.hpp"
#include "loader/scenery.hpp"
-#include "loader/anim-info.hpp"
+#include "loader/anim-cell.hpp"
#include <Corrade/Containers/ArrayViewStl.h>
#include <Corrade/Utility/Path.h>
@@ -26,7 +26,7 @@ void loader_impl::get_scenery_list()
sceneries_array.clear();
sceneries_array = json_helper::from_json<std::vector<serialized_scenery>>(Path::join(SCENERY_PATH, "scenery.json"));
- if constexpr(false)
+ if constexpr(true) // todo!
{
auto proto = scenery_proto{};
proto.atlas = make_invalid_anim_atlas().atlas;