- Temporary removed the bugfix from version 560, because it is not such a big bugfix so that players need to start a new game. We should enable the bugfix when we make bigger changes to the savegame structure or make a new release (or update) public again. NOW LOADING OLDER SAVEGAMES WORKS JUST FINE AGAIN!

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@561 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2006-09-26 13:30:39 +00:00
parent 8dc317c136
commit c256b0faf8
5 changed files with 15 additions and 10 deletions
+9 -4
View File
@@ -3565,8 +3565,11 @@ BOOLEAN SaveEmailToSavedGame( HWFILE hFile )
SavedEmail.iFourthData = pEmail->iFourthData;
SavedEmail.uiFifthData = pEmail->uiFifthData;
SavedEmail.uiSixData = pEmail->uiSixData;
// WANNE NEW
SavedEmail.iCurrentIMPPosition = pEmail->iCurrentIMPPosition;
// WANNE - SAVEGAME-STRUCTURE: Remove the comment, until we have bigger changes in the savegame structure
// BECAUSE A NEW GAME MUST BE STARTED!
//SavedEmail.iCurrentIMPPosition = pEmail->iCurrentIMPPosition;
// write the email header to the saved game file
@@ -3668,8 +3671,10 @@ BOOLEAN LoadEmailFromSavedGame( HWFILE hFile )
pTempEmail->iFourthData = SavedEmail.iFourthData;
pTempEmail->uiFifthData = SavedEmail.uiFifthData;
pTempEmail->uiSixData = SavedEmail.uiSixData;
// WANNE NEW
pTempEmail->iCurrentIMPPosition = SavedEmail.iCurrentIMPPosition;
// WANNE - SAVEGAME-STRUCTURE: Remove the comment, until we have bigger changes in the savegame structure
// BECAUSE A NEW GAME MUST BE STARTED!
//pTempEmail->iCurrentIMPPosition = SavedEmail.iCurrentIMPPosition;
//add the current email in
pEmail->Next = pTempEmail;