summaryrefslogtreecommitdiffhomepage
path: root/loader/ground-cell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'loader/ground-cell.cpp')
-rw-r--r--loader/ground-cell.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/loader/ground-cell.cpp b/loader/ground-cell.cpp
index 8cc1e31d..f8373d76 100644
--- a/loader/ground-cell.cpp
+++ b/loader/ground-cell.cpp
@@ -11,8 +11,7 @@ vector_wrapper<const ground_cell> ground_cell::load_atlases_from_json()
{
char buf[fm_FILENAME_MAX];
auto s = loader.make_atlas_path(buf, loader.GROUND_TILESET_PATH, "ground.json"_s);
- auto cells = json_helper::from_json<std::vector<ground_cell>>(s);
- return {cells};
+ return {json_helper::from_json<std::vector<ground_cell>>(s)};
}
} // namespace floormat