]> git.pond.sub.org Git - empserver/commit
Clean up and improve retreat condition handling
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Jul 2008 18:19:07 +0000 (14:19 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 12 Jul 2008 14:41:44 +0000 (10:41 -0400)
commitbb5dfd803bb7b9263a76665636352cb35d7d021a
treeee1c9ae3134cbaf3331c7d0d9a761403331b979b
parent700089dd423ceda614c7164a1f816143a9c50720
Clean up and improve retreat condition handling

Change retreat condition prompt to point to help.  Before, it listed
conditions rather cryptically, without mentioning how to get help.

Don't provide help when encountering a bad retreat condition
character.

Fail the command when encountering a bad retreat condition character.
Before, they were dropped.

Don't fail the command when the player asks for help at the condition
code prompt.

Retreat condition help failed to explain 'c'.
src/lib/commands/retr.c