summaryrefslogtreecommitdiffhomepage
path: root/loader/impl.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-13 14:58:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-13 21:22:32 +0100
commit8f7b089e246b5e55d1cacb756da4219bb751236f (patch)
treeb302742a6cdc70c393c6020bc8e3b4d1bc08d348 /loader/impl.cpp
parent9b70fb78e70a509ba5bfa1c1d0a839eddd0902dc (diff)
scenery loader now works
Diffstat (limited to 'loader/impl.cpp')
-rw-r--r--loader/impl.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/loader/impl.cpp b/loader/impl.cpp
index 704d6de2..969688ea 100644
--- a/loader/impl.cpp
+++ b/loader/impl.cpp
@@ -6,6 +6,7 @@
#include "wall-cell.hpp"
#include "anim-traits.hpp"
#include "anim-cell.hpp"
+#include "scenery-traits.hpp"
#include "scenery-cell.hpp"
// todo scenery_traits
#include "vobj-cell.hpp"
@@ -54,9 +55,7 @@ void loader_impl::destroy()
_ground_loader = {InPlace};
_wall_loader = {InPlace};
_anim_loader = {InPlace};
- sceneries_map.clear();
- sceneries_array.clear();
-
+ _scenery_loader = {InPlace};
vobj_atlas_map.clear();
vobjs.clear();
}