summaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-12-12 20:22:09 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-12-12 20:22:09 +0100
commit3a53c6ede79835c5711bda3a332995f2407f5d12 (patch)
treeb069f892660f20ae389e2ebf565c0bae1d38a604 /loader
parentafc63fbba0e6009ec4132922545335594a20493e (diff)
cc
Diffstat (limited to 'loader')
-rw-r--r--loader/wall-atlas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/wall-atlas.cpp b/loader/wall-atlas.cpp
index 026bd6d5..2e4d3704 100644
--- a/loader/wall-atlas.cpp
+++ b/loader/wall-atlas.cpp
@@ -86,7 +86,7 @@ std::shared_ptr<class wall_atlas> loader_impl::wall_atlas(StringView name, bool
return make_invalid_wall_atlas().atlas;
}
fm_assert(it->second != nullptr);
- if (!it->second->atlas)
+ if (!it->second->atlas) [[unlikely]]
it->second->atlas = get_wall_atlas(it->second->name, path);
return it->second->atlas;
}