summaryrefslogtreecommitdiffhomepage
path: root/loader/json.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'loader/json.cpp')
-rw-r--r--loader/json.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/loader/json.cpp b/loader/json.cpp
index 007bafeb..e9da0339 100644
--- a/loader/json.cpp
+++ b/loader/json.cpp
@@ -54,13 +54,10 @@ const scenery_proto& loader_impl::scenery(StringView name) noexcept(false)
namespace floormat {
-std::vector<std::shared_ptr<class tile_atlas>> loader_::tile_atlases(StringView filename, pass_mode p)
+std::vector<std::shared_ptr<class tile_atlas>> loader_::tile_atlases(StringView filename)
{
auto vec = json_helper::from_json<std::vector<std::shared_ptr<class tile_atlas>>>(
Path::join(loader_::IMAGE_PATH, filename));
- for (auto& x : vec)
- if (!x->pass_mode())
- x->set_pass_mode(p);
return vec;
}