diff options
author | rillig <rillig@NetBSD.org> | 2021-05-02 12:50:43 +0000 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-05-05 14:56:21 -0400 |
commit | 1c75ca2e2dc72d118edbb854455e602d70d80a52 (patch) | |
tree | a815eb983fa15e7c407095122e37acb90093be9a /warp/weapon.c | |
parent | 2442661e769456700d67fac92056d18b3046633e (diff) | |
download | bsdgames-darwin-1c75ca2e2dc72d118edbb854455e602d70d80a52.tar.gz bsdgames-darwin-1c75ca2e2dc72d118edbb854455e602d70d80a52.tar.zst bsdgames-darwin-1c75ca2e2dc72d118edbb854455e602d70d80a52.zip |
games: remove trailing whitespace in *.c and *.h
Diffstat (limited to 'warp/weapon.c')
-rw-r--r-- | warp/weapon.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/warp/weapon.c b/warp/weapon.c index 0cf51f32..33134ca3 100644 --- a/warp/weapon.c +++ b/warp/weapon.c @@ -3,13 +3,13 @@ /* Log: weapon.c,v * Revision 7.0.1.2 86/10/20 14:36:33 lwall * Picked some lint. - * + * * Revision 7.0.1.1 86/10/16 10:54:42 lwall * Added Damage. Fixed random bugs. - * + * * Revision 7.0 86/10/08 15:18:08 lwall * Split into separate files. Added amoebas and pirates. - * + * */ #include "EXTERN.h" @@ -162,7 +162,7 @@ attack(OBJECT *attackee) case 3: { int newspeed = rand_mod(prob<5&&smarts>70?4:3)-1; - + obj->vely = -dy * newspeed; obj->velx = -dx * newspeed; if (newspeed >= 0 && @@ -418,7 +418,7 @@ attack(OBJECT *attackee) else { if (thru_stars) goto bombout; - } + } } bombout: ; /* end of loop */ } |