Treat distance between planets as always 1 if no interception chance.
This commit is contained in:
parent
8793aaa780
commit
290d44386a
|
@ -1330,6 +1330,9 @@ int intermission()
|
|||
else
|
||||
{
|
||||
distance = abs(game.stationedPlanet - game.destinationPlanet);
|
||||
if (interceptionChance <= 0)
|
||||
distance = 1;
|
||||
|
||||
distance = (5 / distance);
|
||||
if (distance < 1)
|
||||
distance = 1;
|
||||
|
|
Loading…
Reference in New Issue