Fix ships in solar system getting displaced after having visited a planet (bug #365)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1217 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -202,6 +202,7 @@ extern BOOLEAN DoFlagshipCommands (PMENU_STATE pMS);
|
||||
extern void ZoomSystem (void);
|
||||
extern void LoadSolarSys (void);
|
||||
extern void InitLander (BYTE LanderFlags);
|
||||
extern BOOLEAN ValidateOrbits (void);
|
||||
|
||||
#endif /* _PLANETS_H */
|
||||
|
||||
|
||||
@@ -1293,6 +1293,7 @@ DoFlagshipCommands (PMENU_STATE pMS)
|
||||
FreePlanet ();
|
||||
SetSemaphore (GraphicsSem);
|
||||
LoadSolarSys ();
|
||||
ValidateOrbits ();
|
||||
ZoomSystem ();
|
||||
ClearSemaphore (GraphicsSem);
|
||||
}
|
||||
|
||||
@@ -1219,7 +1219,7 @@ DrawInnerSystem (void)
|
||||
ClearSemaphore (GraphicsSem);
|
||||
}
|
||||
|
||||
static BOOLEAN
|
||||
BOOLEAN
|
||||
ValidateOrbits (void)
|
||||
{
|
||||
BYTE i;
|
||||
|
||||
Reference in New Issue
Block a user