Make ships stop after teleporting through the wormhole.
This commit is contained in:
parent
c6431935d1
commit
6ad92bf07a
|
@ -44,6 +44,8 @@ static inline void calculateGravity(xyVector * starPosition, ship * shipUnderGra
|
|||
{
|
||||
shipUnderGravity->position.xComponent = random() % 4000;
|
||||
shipUnderGravity->position.yComponent = random() % 4000;
|
||||
shipUnderGravity->velocity.xComponent = 0;
|
||||
shipUnderGravity->velocity.yComponent = 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue