From 9652af31efd80d93e2bf0fa70a15062d9b368cac Mon Sep 17 00:00:00 2001 From: mcmartin Date: Wed, 27 Aug 2003 03:35:57 +0000 Subject: [PATCH] Lander's landing sequence starts simulating events later (bug #80) git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1130 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/ChangeLog | 2 ++ sc2/src/sc2code/planets/lander.c | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sc2/ChangeLog b/sc2/ChangeLog index 69487caca..a4aa5e608 100644 --- a/sc2/ChangeLog +++ b/sc2/ChangeLog @@ -1,4 +1,6 @@ Changes towards version 0.3: +- Freeze planetary simulation at beginning of landing sequence to stop + event bursts (bug #80) -Michael - Extra 2 ship slots in supermelee, as in the PC SC2, and all the PC default teams, from chmmravatar (bug #248) NOTE: this breaks old team saves! diff --git a/sc2/src/sc2code/planets/lander.c b/sc2/src/sc2code/planets/lander.c index cbc01df04..c4ca03371 100644 --- a/sc2/src/sc2code/planets/lander.c +++ b/sc2/src/sc2code/planets/lander.c @@ -1958,10 +1958,8 @@ PlanetSide (PMENU_STATE pMS) else TimeIn += ONE_SECOND / 60; - do - { - ScrollPlanetSide (0, 0, index); - } while (GetTimeCounter () < TimeIn); + ScrollPlanetSide (0, 0, index); + SleepThreadUntil (TimeIn); } PSD.InTransit = FALSE;