summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc18
1 files changed, 6 insertions, 12 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index f267610334..3edb2846e8 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -218,18 +218,12 @@ static int _targeting_cmd_to_feature( command_type command )
{
switch ( command )
{
- case CMD_TARGET_FIND_TRAP:
- return '^';
- case CMD_TARGET_FIND_PORTAL:
- return '\\';
- case CMD_TARGET_FIND_ALTAR:
- return '_';
- case CMD_TARGET_FIND_UPSTAIR:
- return '<';
- case CMD_TARGET_FIND_DOWNSTAIR:
- return '>';
- default:
- return 0;
+ case CMD_TARGET_FIND_TRAP: return '^';
+ case CMD_TARGET_FIND_PORTAL: return '\\';
+ case CMD_TARGET_FIND_ALTAR: return '_';
+ case CMD_TARGET_FIND_UPSTAIR: return '<';
+ case CMD_TARGET_FIND_DOWNSTAIR: return '>';
+ default: return 0;
}
}