summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-12-23 14:18:58 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-12-23 14:18:58 +0100
commit34dda4dfda171390c45a36229e8e4bbe26215d3d (patch)
tree555d59ce94015023d0bd0ed9726c3edb09c9e35a
parentd93ef1ee0118b52452bd3c0452097433b9ee9e04 (diff)
bb
-rw-r--r--loader/wall-atlas.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/loader/wall-atlas.cpp b/loader/wall-atlas.cpp
index 5b7766a5..c7e9bb2b 100644
--- a/loader/wall-atlas.cpp
+++ b/loader/wall-atlas.cpp
@@ -85,7 +85,10 @@ std::shared_ptr<class wall_atlas> loader_impl::wall_atlas(StringView name, bool
if (!fail_ok)
fm_throw("no such wall atlas '{}'"_cf, name);
else
+ {
+ DBG_nospace << "wall_atlas '" << name << "'doesn't exist";
return make_invalid_wall_atlas().atlas;
+ }
}
fm_assert(it->second != nullptr);
if (!it->second->atlas) [[unlikely]]