X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fevents.c;h=22cfdcd12ebadba2d7084591f3d6ec9bac91ab12;hb=d0a7080670f9a2fa96138cf1c06708016a42d615;hp=000744c9e177a90e8dff21dcd2f7ffc78ae66ff1;hpb=410d7a408613b171e14d79f734561d3cd98debda;p=rocksndiamonds.git diff --git a/src/events.c b/src/events.c index 000744c9..22cfdcd1 100644 --- a/src/events.c +++ b/src/events.c @@ -1760,6 +1760,14 @@ static void HandleKeysSpecial(Key key) DumpBrush_Small(); } } + + /* special key shortcuts for all game modes */ + if (is_string_suffix(cheat_input, ":dump-gadget-ids") || + is_string_suffix(cheat_input, ":dgi") || + is_string_suffix(cheat_input, ":DGI")) + { + DumpGadgetIdentifiers(); + } } void HandleKeysDebug(Key key)