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 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue