From: Markus Armbruster Date: Sun, 13 Jan 2013 16:09:25 +0000 (+0100) Subject: Clean up silly use of long in satmap() X-Git-Tag: v4.3.31~68 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=24408e65b48396ef87d758b19d9f0041cd084406 Clean up silly use of long in satmap() crackle's value is betwen 0 and 100, so change it to int. --- 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)