summaryrefslogtreecommitdiffhomepage
path: root/loader/wall-atlas.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-11 14:29:53 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-11 14:45:29 +0100
commitd74df1b763979d281f76f3f30543aee8d8a638b7 (patch)
tree08939a34160b261c37644595aa8702dd0689d74f /loader/wall-atlas.cpp
parent7867213a01fcabb1f05b1836c2ca59dc3bb2132f (diff)
rename floor -> ground
Diffstat (limited to 'loader/wall-atlas.cpp')
-rw-r--r--loader/wall-atlas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/wall-atlas.cpp b/loader/wall-atlas.cpp
index 66dc3ba5..7d423b26 100644
--- a/loader/wall-atlas.cpp
+++ b/loader/wall-atlas.cpp
@@ -46,7 +46,7 @@ std::shared_ptr<wall_atlas> loader_impl::get_wall_atlas(StringView name, StringV
char buf[FILENAME_MAX];
auto filename = make_atlas_path(buf, path, name);
auto def = wall_atlas_def::deserialize(""_s.join({filename, ".json"_s}));
- auto tex = texture(""_s, filename, false);
+ auto tex = texture(""_s, filename);
fm_soft_assert(name == def.header.name);
fm_soft_assert(!def.frames.empty());
@@ -54,7 +54,7 @@ std::shared_ptr<wall_atlas> loader_impl::get_wall_atlas(StringView name, StringV
return atlas;
}
-const wall_info& loader_impl::make_invalid_wall_atlas()
+const wall_info& loader_impl::make_invalid_wall_atlas() noexcept
{
if (invalid_wall_atlas) [[likely]]
return *invalid_wall_atlas;