Fixed recently introduced bug with crew count on leaving HyperSpace (bug 875).
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2316 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
Changes towards version 0.6:
|
||||
- Fixed recently introduced bug with crew count on exit to HyperSpace.
|
||||
(bug #875) - SvdB
|
||||
- Fixed static vars not reinited in alien comm code (caused various
|
||||
side-effects; bug #870) - Alex
|
||||
- Fixed a spinlock in Melee's final score screen (Bug 879) - Michael
|
||||
|
||||
@@ -239,8 +239,7 @@ LeaveAutoPilot:
|
||||
speed = square_root ((long)dx * dx + (long)dy * dy);
|
||||
if (AccelerateDirection < 0)
|
||||
{
|
||||
dy = (speed / velocity_increment - 1)
|
||||
* velocity_increment;
|
||||
dy = (speed / velocity_increment - 1) * velocity_increment;
|
||||
if (dy < speed - velocity_increment)
|
||||
dy = speed - velocity_increment;
|
||||
if ((speed = dy) < 0)
|
||||
@@ -853,12 +852,11 @@ init_sis (void)
|
||||
(void (*) (PVOID ShipPtr, PVOID ObjectsOfConcern,
|
||||
COUNT ConcernCounter)) sis_intelligence;
|
||||
|
||||
InitModuleSlots(&new_sis_desc, GLOBAL_SIS (ModuleSlots));
|
||||
|
||||
if (GET_GAME_STATE (CHMMR_BOMB_STATE) == 3)
|
||||
SET_GAME_STATE (BOMB_CARRIER, 1);
|
||||
}
|
||||
|
||||
InitModuleSlots(&new_sis_desc, GLOBAL_SIS (ModuleSlots));
|
||||
InitDriveSlots(&new_sis_desc, GLOBAL_SIS (DriveSlots));
|
||||
InitJetSlots(&new_sis_desc, GLOBAL_SIS (JetSlots));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user