From 98416d95331c63affabf331afba0e1dcb307c430 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 11 Jan 2024 17:13:06 +0100 Subject: w --- editor/imgui-editors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/imgui-editors.cpp') 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 get_atlas(const scenery_& sc) { return sc.proto.atlas; } std::shared_ptr get_atlas(const vobj_& vobj) { return vobj.factory->atlas(); } std::shared_ptr get_atlas(const wall_info* w) { return loader.wall_atlas(w->name); } -- cgit v1.2.3