summaryrefslogtreecommitdiffstats
path: root/games/trek/torped.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/trek/torped.c')
-rw-r--r--games/trek/torped.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/trek/torped.c b/games/trek/torped.c
index 502bc74..68df0e9 100644
--- a/games/trek/torped.c
+++ b/games/trek/torped.c
@@ -62,11 +62,11 @@ static char sccsid[] = "@(#)torped.c 8.1 (Berkeley) 5/31/93";
torped()
{
- register int ix, iy;
+ int ix, iy;
double x, y, dx, dy;
double angle;
int course, course2;
- register int k;
+ int k;
double bigger;
double sectsize;
int burst;
@@ -221,7 +221,7 @@ randcourse(n)
int n;
{
double r;
- register int d;
+ int d;
d = ((franf() + franf()) - 1.0) * 20;
if (abs(d) > 12)
OpenPOWER on IntegriCloud