summaryrefslogtreecommitdiffhomepage
path: root/editor/imgui-editors.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-11 17:13:06 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-11 17:13:06 +0100
commit98416d95331c63affabf331afba0e1dcb307c430 (patch)
tree35402e1b6319aad0d5d928a75395da9162496a7d /editor/imgui-editors.cpp
parentba90ba2ca91c448d80722985811fc6bddc6e9bf2 (diff)
w
Diffstat (limited to 'editor/imgui-editors.cpp')
-rw-r--r--editor/imgui-editors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/imgui-editors.cpp b/editor/imgui-editors.cpp
index 2e585d6b..2712dc5f 100644
--- a/editor/imgui-editors.cpp
+++ b/editor/imgui-editors.cpp
@@ -36,7 +36,7 @@ StringView scenery_type_to_string(const scenery_& sc)
StringView scenery_path(const wall_info* wa) { return wa->atlas->name(); }
StringView scenery_name(StringView, const scenery_& sc) { return sc.descr; }
StringView scenery_name(StringView, const vobj_& vobj) { return vobj.descr; }
-StringView scenery_name(StringView, const wall_info* w) { return w->descr; }
+StringView scenery_name(StringView, const wall_info* w) { return w->name; }
std::shared_ptr<anim_atlas> get_atlas(const scenery_& sc) { return sc.proto.atlas; }
std::shared_ptr<anim_atlas> get_atlas(const vobj_& vobj) { return vobj.factory->atlas(); }
std::shared_ptr<wall_atlas> get_atlas(const wall_info* w) { return loader.wall_atlas(w->name); }