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:
parent
74b8b9932d
commit
24408e65b4
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue