hatanaka
hatanaka copied to clipboard
Fix out of bounds array access
If the satellite is new (*i0 = -1), we don't have data to add up
Please thoroughly review if this is correct. From all I can tell, we were just adding arbitrary values that happen to be in memory before this change.