From a6574dce753c0957d369817fb4d23b164fd1de13 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 12 Nov 2022 01:20:07 +0100 Subject: fix typo --- loader/loader-impl.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'loader') diff --git a/loader/loader-impl.cpp b/loader/loader-impl.cpp index 447a5a81..55da68df 100644 --- a/loader/loader-impl.cpp +++ b/loader/loader-impl.cpp @@ -70,7 +70,6 @@ std::shared_ptr loader_impl::tile_atlas(StringView name, Vector2ub s { const emplacer e{[&] { return std::make_shared(name, texture(FM_IMAGE_PATH, name), size); }}; auto atlas = tile_atlas_map.try_emplace(name, e).first->second; - tile_atlas_map[atlas->name()] = atlas; return atlas; } -- cgit v1.2.3