From c86ebebcdde4740aed9d4ae94d25ef3f492cc563 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Sun, 25 Jan 2015 23:06:21 -0500 Subject: [PATCH] Fix indentation --- src/boe.actions.cpp | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/src/boe.actions.cpp b/src/boe.actions.cpp index e8fa12c4..4fb54b90 100644 --- a/src/boe.actions.cpp +++ b/src/boe.actions.cpp @@ -2077,20 +2077,21 @@ bool handle_keystroke(sf::Event& event){ return false; } break; - case 'w':if(overall_mode == MODE_COMBAT) - j = 5; - else if(overall_mode == MODE_TOWN) { - // TODO: Uh, what about ul.y? - pass_point.x = 1001 + ul.x; - pass_event.mouseButton.x = pass_point.x; - pass_event.mouseButton.y = pass_point.y; - are_done = handle_action(pass_event); - } - else { - add_string_to_buf("Wait: In town only."); - print_buf(); - return false; - } + case 'w': + if(overall_mode == MODE_COMBAT) + j = 5; + else if(overall_mode == MODE_TOWN) { + // TODO: Uh, what about ul.y? + pass_point.x = 1001 + ul.x; + pass_event.mouseButton.x = pass_point.x; + pass_event.mouseButton.y = pass_point.y; + are_done = handle_action(pass_event); + } + else { + add_string_to_buf("Wait: In town only."); + print_buf(); + return false; + } break; case 'd': if(overall_mode != MODE_COMBAT) return false; j = 3;