diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-12 01:20:07 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-12 01:20:07 +0100 |
| commit | a6574dce753c0957d369817fb4d23b164fd1de13 (patch) | |
| tree | 9855f73aa254b0b25fea709e84c091d522a3182d /loader | |
| parent | c0b3019d1b298ed682fa50e75740ec287ffb604d (diff) | |
fix typo
Diffstat (limited to 'loader')
| -rw-r--r-- | loader/loader-impl.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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<tile_atlas> loader_impl::tile_atlas(StringView name, Vector2ub s { const emplacer e{[&] { return std::make_shared<struct tile_atlas>(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; } |
