From 9015cf2b055f16a1e3045d66737711a3ca95c0ee Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Sun, 24 Aug 2025 20:16:43 -0500 Subject: [PATCH] hint for SET_SDF --- src/scenario/special.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/scenario/special.cpp b/src/scenario/special.cpp index f40bfb480..9e4426f10 100644 --- a/src/scenario/special.cpp +++ b/src/scenario/special.cpp @@ -535,6 +535,12 @@ std::string cSpecial::editor_hint(const cScenario& scenario) const { std::string hint = (*type).name(); switch(type){ + case eSpecType::SET_SDF:{ + std::string name = scenario.get_sdf_name(sd1, sd2); + if(name.empty()) name = "(" + std::to_string(sd1) + ", " + std::to_string(sd2) + ")"; + else name = "'" + name + "'"; + hint += " " + name + " to " + std::to_string(ex1a); + }break; case eSpecType::TOWN_STAIR: case eSpecType::TOWN_GENERIC_STAIR: hint += " to ";