summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-10 05:04:41 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-10 05:04:41 +0100
commite53afc53ae4344235736af2956630d1d4f95fdf0 (patch)
tree855c52c98ed30f0d668da8faca9d5086c581cf80 /editor
parentab26592417392195ac02586545262c87c375f20e (diff)
a
Diffstat (limited to 'editor')
-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 fa7f23f5..5dc4f281 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 name, const scenery_& sc) { return name; }
StringView scenery_name(StringView, const vobj_& vobj) { return vobj.descr; }
-StringView scenery_name(StringView, const wall_info* w) { return w->name; }
+StringView scenery_name(StringView, const wall_info* w) { return w->descr; }
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); }