Fix indentation

This commit is contained in:
2015-01-25 23:06:21 -05:00
parent d877df5101
commit c86ebebcdd

View File

@@ -2077,20 +2077,21 @@ bool handle_keystroke(sf::Event& event){
return false; return false;
} }
break; break;
case 'w':if(overall_mode == MODE_COMBAT) case 'w':
j = 5; if(overall_mode == MODE_COMBAT)
else if(overall_mode == MODE_TOWN) { j = 5;
// TODO: Uh, what about ul.y? else if(overall_mode == MODE_TOWN) {
pass_point.x = 1001 + ul.x; // TODO: Uh, what about ul.y?
pass_event.mouseButton.x = pass_point.x; pass_point.x = 1001 + ul.x;
pass_event.mouseButton.y = pass_point.y; pass_event.mouseButton.x = pass_point.x;
are_done = handle_action(pass_event); pass_event.mouseButton.y = pass_point.y;
} are_done = handle_action(pass_event);
else { }
add_string_to_buf("Wait: In town only."); else {
print_buf(); add_string_to_buf("Wait: In town only.");
return false; print_buf();
} return false;
}
break; break;
case 'd': if(overall_mode != MODE_COMBAT) return false; case 'd': if(overall_mode != MODE_COMBAT) return false;
j = 3; j = 3;