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:
avolkov
2003-09-08 22:32:10 +00:00
parent 73870cbf66
commit 352659de13
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -202,6 +202,7 @@ extern BOOLEAN DoFlagshipCommands (PMENU_STATE pMS);
extern void ZoomSystem (void); extern void ZoomSystem (void);
extern void LoadSolarSys (void); extern void LoadSolarSys (void);
extern void InitLander (BYTE LanderFlags); extern void InitLander (BYTE LanderFlags);
extern BOOLEAN ValidateOrbits (void);
#endif /* _PLANETS_H */ #endif /* _PLANETS_H */
+1
View File
@@ -1293,6 +1293,7 @@ DoFlagshipCommands (PMENU_STATE pMS)
FreePlanet (); FreePlanet ();
SetSemaphore (GraphicsSem); SetSemaphore (GraphicsSem);
LoadSolarSys (); LoadSolarSys ();
ValidateOrbits ();
ZoomSystem (); ZoomSystem ();
ClearSemaphore (GraphicsSem); ClearSemaphore (GraphicsSem);
} }
+1 -1
View File
@@ -1219,7 +1219,7 @@ DrawInnerSystem (void)
ClearSemaphore (GraphicsSem); ClearSemaphore (GraphicsSem);
} }
static BOOLEAN BOOLEAN
ValidateOrbits (void) ValidateOrbits (void)
{ {
BYTE i; BYTE i;