summaryrefslogtreecommitdiffhomepage
path: root/loader/ground-traits.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-14 19:40:18 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-14 19:40:18 +0100
commit07018b1d1247f4fb558a2b551dd8d4ca35346377 (patch)
tree51ee528771fbb77ee1f62adf38a1d8cca1c8ac8c /loader/ground-traits.cpp
parent626e49662839a1ecd505547a5671d1ab8ac5b4aa (diff)
switch back to using StringView in atlas loader
Diffstat (limited to 'loader/ground-traits.cpp')
-rw-r--r--loader/ground-traits.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/loader/ground-traits.cpp b/loader/ground-traits.cpp
index 869cf214..fd3b2dc1 100644
--- a/loader/ground-traits.cpp
+++ b/loader/ground-traits.cpp
@@ -5,7 +5,6 @@
#include "src/tile-defs.hpp"
#include "src/ground-atlas.hpp"
#include "compat/assert.hpp"
-#include "compat/vector-wrapper.hpp"
#include <cr/Optional.h>
#include <Corrade/Containers/StringView.h>
#include <Corrade/Containers/Pointer.h>
@@ -24,7 +23,7 @@ String& ground_traits::name_of(Cell& x) { return x.name; }
void ground_traits::atlas_list(Storage& s)
{
fm_debug_assert(s.name_map.empty());
- s.cell_array = ground_cell::load_atlases_from_json().vec;
+ s.cell_array = ground_cell::load_atlases_from_json();
s.name_map[loader.INVALID] = -1uz;
}