Mercurial > mm7
comparison mm7_5.cpp @ 43:196847ece26a
autosave slot fix
author | zipi |
---|---|
date | Mon, 21 Jan 2013 00:12:27 +0000 |
parents | 2bcc7b24c831 |
children | 9b4f8fe32a6e |
comparison
equal
deleted
inserted
replaced
42:2bcc7b24c831 | 43:196847ece26a |
---|---|
544 dword_6BE138 = v10; | 544 dword_6BE138 = v10; |
545 } | 545 } |
546 else | 546 else |
547 { | 547 { |
548 pKeyActionMap->EnterText(0, 19, pGUIWindow_CurrentMenu); | 548 pKeyActionMap->EnterText(0, 19, pGUIWindow_CurrentMenu); |
549 if ( strcmp((const char *)&pSavegameHeader + 100 * uLoadGameUI_SelectedSlot, pGlobalTXT_LocalizationStrings[72]) )// "Empty" | 549 if ( strcmp((const char *)&pSavegameHeader[uLoadGameUI_SelectedSlot], pGlobalTXT_LocalizationStrings[72]) )// "Empty" |
550 strcpy((char *)pKeyActionMap->pPressedKeysBuffer, (const char *)&pSavegameHeader + 100 * uLoadGameUI_SelectedSlot); | 550 strcpy((char *)pKeyActionMap->pPressedKeysBuffer, (const char *)&pSavegameHeader[uLoadGameUI_SelectedSlot]); |
551 pKeyActionMap->uNumKeysPressed = strlen((const char *)pKeyActionMap->pPressedKeysBuffer); | 551 pKeyActionMap->uNumKeysPressed = strlen((const char *)pKeyActionMap->pPressedKeysBuffer); |
552 } | 552 } |
553 continue; | 553 continue; |
554 case UIMSG_LoadGame: | 554 case UIMSG_LoadGame: |
555 if ( pSavegameUsedSlots[uLoadGameUI_SelectedSlot] ) | 555 if ( pSavegameUsedSlots[uLoadGameUI_SelectedSlot] ) |