Remove remnants of old code.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2277 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -248,7 +248,6 @@ LoadGame (COUNT which_game, SUMMARY_DESC *summary_desc)
|
||||
hEncounter = AllocEncounter ();
|
||||
LockEncounter (hEncounter, &EncounterPtr);
|
||||
|
||||
//cread ((PBYTE)EncounterPtr, sizeof (*EncounterPtr), 1, fh);
|
||||
LoadEncounter(EncounterPtr, fh);
|
||||
EncounterPtr->hElement = 0;
|
||||
NumShips = LONIBBLE (EncounterPtr->SD.Index);
|
||||
|
||||
@@ -408,9 +408,7 @@ RetrySave:
|
||||
LockEncounter (hEncounter, &EncounterPtr);
|
||||
hNextEncounter = GetSuccEncounter (EncounterPtr);
|
||||
|
||||
//cwrite ((PBYTE)EncounterPtr, sizeof (*EncounterPtr), 1, fh);
|
||||
SaveEncounter(EncounterPtr, fh);
|
||||
cwrite ((PBYTE)EncounterPtr, sizeof (*EncounterPtr), 1, fh);
|
||||
|
||||
UnlockEncounter (hEncounter);
|
||||
hEncounter = hNextEncounter;
|
||||
|
||||
Reference in New Issue
Block a user