From 24408e65b48396ef87d758b19d9f0041cd084406 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 13 Jan 2013 17:09:25 +0100 Subject: [PATCH] Clean up silly use of long in satmap() crackle's value is betwen 0 and 100, so change it to int. --- src/lib/subs/satmap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/subs/satmap.c b/src/lib/subs/satmap.c index e016e54d3..731179a84 100644 --- a/src/lib/subs/satmap.c +++ b/src/lib/subs/satmap.c @@ -58,14 +58,13 @@ satmap(int x, int y, int eff, int range, int flags, int type) struct sctstr sect; struct shpstr ship; struct lndstr land; - int count; + int count, crackle; struct nstr_item ni; struct nstr_sect ns; int rx, ry; int row; int n; int changed = 0; - long crackle; signed char noise[100]; if (!eff) -- 2.43.0