count could split them into even more slots
when a monster on the far side of a closed door opens it, sometimes the hero
was told about the monster without it being displayed on the map
+also show extended command name when showing what a key does in help
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
}
/* finally, check whether 'key' is a command */
if (g.Cmd.commands[key]) {
- if (g.Cmd.commands[key]->ef_txt)
- return g.Cmd.commands[key]->ef_desc;
+ if (g.Cmd.commands[key]->ef_txt) {
+ Sprintf(key2cmdbuf, "%s (#%s)",
+ g.Cmd.commands[key]->ef_desc,
+ g.Cmd.commands[key]->ef_txt);
+ return key2cmdbuf;
+ }
}
return (char *) 0;
}