aboutsummaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-02-29 21:12:55 -0800
committerH. Peter Anvin <hpa@zytor.com>2012-02-29 21:12:55 -0800
commitc105886c048e0700de01c6ba327684b67aa0aed1 (patch)
treeec752aa3ccacb7cc32a23b051aff0f9a9ed98bf4 /action.c
parent9041bb43b4d5de67cab2a2224afcd1c40d53ec87 (diff)
downloadgrv-c105886c048e0700de01c6ba327684b67aa0aed1.tar.gz
grv-c105886c048e0700de01c6ba327684b67aa0aed1.tar.xz
grv-c105886c048e0700de01c6ba327684b67aa0aed1.zip
Clean up crap whitespace
Diffstat (limited to 'action.c')
-rw-r--r--action.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/action.c b/action.c
index b592ea2..19f875c 100644
--- a/action.c
+++ b/action.c
@@ -145,7 +145,7 @@ static void blow_bomb(int x, int y, int smash)
for ( y2 = y-patw ; y2 <= y+patw ; y2++ ) {
path = *pattern++;
-
+
if ( y2 < 1 || y2 > 40 )
continue;
@@ -186,7 +186,7 @@ static void blow_bomb(int x, int y, int smash)
if ( !fl )
addaction(x2, y2, gp.Tid+30.0/(gp.Level+1), act_apple);
break;
-
+
case SYM_BOMB:
case 'H':
case 'Y':
@@ -215,7 +215,7 @@ static void blow_bomb(int x, int y, int smash)
lprint(x2,y2," ");
}
}
-
+
/* See if there is something above this row that should be activated */
if ( x2 >= 2 && x2 <= 23 ) {
ch = screen(x2,y2);
@@ -277,7 +277,7 @@ void handle_action(void)
case act_apple:
fall_apple(action.x, action.y);
break;
-
+
case act_bomb:
blow_bomb(action.x, action.y, 0);
break;
@@ -336,5 +336,3 @@ void handle_action(void)
break;
}
}
-
-