Fixed bug 996 - ships recrewed in HyperSpace

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2811 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2007-07-16 21:58:41 +00:00
parent 0631074f67
commit 7da9f3c6d0
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -1664,7 +1664,8 @@ RaceCommunication (void)
// XXX: Bug 996 lives here: crew is set to default (0) // XXX: Bug 996 lives here: crew is set to default (0)
// None of ship info is actually used! // None of ship info is actually used!
CloneShipFragment (EncounterPtr->SD.Type, CloneShipFragment (EncounterPtr->SD.Type,
&GLOBAL (npc_built_ship_q), 0); &GLOBAL (npc_built_ship_q),
EncounterPtr->ShipList[i].crew_level);
} }
// XXX: Bug: CurStarDescPtr was abused to point within // XXX: Bug: CurStarDescPtr was abused to point within
+1
View File
@@ -33,6 +33,7 @@ typedef HLINK HENCOUNTER;
typedef struct typedef struct
{ {
// The only field actually used right now is crew_level
BYTE race_id; BYTE race_id;
COUNT crew_level; COUNT crew_level;
COUNT max_crew; COUNT max_crew;