diff --git a/src/scenario/special.cpp b/src/scenario/special.cpp index 631ae258..9e4426f1 100644 --- a/src/scenario/special.cpp +++ b/src/scenario/special.cpp @@ -535,11 +535,18 @@ 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 "; if(ex2a < scenario.towns.size()) hint += scenario.towns[ex2a]->loc_str(loc(ex1a, ex1b)); else hint += "INVALID TOWN"; + break; default: break; } return hint;