Skip to content

Commit

Permalink
launch terrain type documentation to fix #553
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios committed Feb 7, 2025
1 parent 4712dca commit b5ffb98
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/scenedit/scen.core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,9 @@ bool edit_ter_type(ter_num_t which) {
ter_dlg.attachClickHandlers(std::bind(finish_editing_ter,_1,_2,std::ref(which)), {"left", "right", "done"});
ter_dlg["picktrim"].attachClickHandler(std::bind(pick_string,"trim-names", _1, "trim", ""));
ter_dlg["pickarena"].attachClickHandler(std::bind(pick_string,"arena-names", _1, "arena", ""));
ter_dlg["help"].attachClickHandler(std::bind(show_help, "ter-type-help", _1, 16));
ter_dlg["help"].attachClickHandler([](cDialog&, std::string, eKeyMod) -> bool {
launchDocs("editor/Terrain.html");
});
ter_dlg["sound"].attachFocusHandler(play_ter_step_sound);
ter_dlg.attachClickHandlers(pick_ter_flag, {"pickflag1", "pickflag2", "pickflag3", "editspec", "picktrans"});
ter_dlg["picktown"].attachClickHandler([](cDialog& me, std::string, eKeyMod) -> bool {
Expand Down

0 comments on commit b5ffb98

Please sign in to comment.