diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-10 06:46:34 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-10 06:46:34 +0100 |
| commit | de9ef00a35e053c63685c0d5086a2f7c2c74b449 (patch) | |
| tree | 3b3f10158f6699674c542a6aa8d3df95b450d94d | |
| parent | 1493cc1a9bb9355d8ebfc2f2f0320c8f3ca0594c (diff) | |
a
| -rw-r--r-- | editor/imgui-editors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/imgui-editors.cpp b/editor/imgui-editors.cpp index 5dc4f281..7dbef176 100644 --- a/editor/imgui-editors.cpp +++ b/editor/imgui-editors.cpp @@ -34,7 +34,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 name, 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; } std::shared_ptr<anim_atlas> get_atlas(const scenery_& sc) { return sc.proto.atlas; } |
