Clean up silly use of long in satmap()

crackle's value is betwen 0 and 100, so change it to int.
This commit is contained in:
Markus Armbruster 2013-01-13 17:09:25 +01:00
parent 74b8b9932d
commit 24408e65b4

View file

@ -58,14 +58,13 @@ satmap(int x, int y, int eff, int range, int flags, int type)
struct sctstr sect; struct sctstr sect;
struct shpstr ship; struct shpstr ship;
struct lndstr land; struct lndstr land;
int count; int count, crackle;
struct nstr_item ni; struct nstr_item ni;
struct nstr_sect ns; struct nstr_sect ns;
int rx, ry; int rx, ry;
int row; int row;
int n; int n;
int changed = 0; int changed = 0;
long crackle;
signed char noise[100]; signed char noise[100];
if (!eff) if (!eff)