Fix some indentation

This commit is contained in:
2015-06-01 15:04:43 -04:00
parent 2dee8e81f7
commit ae3970aad1

View File

@@ -463,7 +463,7 @@ bool handle_action(location the_point,sf::Event /*event*/) {
}
}
update_mouse_spot(the_point);
if(overall_mode < MODE_MAIN_SCREEN) {;
if(overall_mode < MODE_MAIN_SCREEN) {
if(mouse_spot.x >= 0 && mouse_spot.y >= 0) {
if(cur_viewing_mode == 0) {
spot_hit.x = cen_x + mouse_spot.x - 4;
@@ -905,8 +905,7 @@ bool handle_action(location the_point,sf::Event /*event*/) {
case MODE_SET_OUT_START: //edit out start loc
if(cChoiceDlog("set-out-start-confirm", {"okay", "cancel"}).show() == "cancel")
break;
if((spot_hit.x != minmax(4,43,spot_hit.x)) ||
(spot_hit.y != minmax(4,43,spot_hit.y))) {
if((spot_hit.x != minmax(4,43,spot_hit.x)) || (spot_hit.y != minmax(4,43,spot_hit.y))) {
giveError("You can't put the starting location this close to the edge of an outdoor section. It has to be at least 4 spaces away.");
break;
}