Mercurial > might-and-magic-trilogy
comparison mm7_1.cpp @ 173:8e6ed320a356
Слияние
author | Ritor1 |
---|---|
date | Tue, 11 Dec 2012 21:54:53 +0600 |
parents | 87c503d426e0 |
children | 90a9c828c2a6 |
comparison
equal
deleted
inserted
replaced
172:b4c9e1d2eec8 | 173:8e6ed320a356 |
---|---|
5729 if ( unk_50C9A0 ) | 5729 if ( unk_50C9A0 ) |
5730 { | 5730 { |
5731 v6 = v0->GetItemIDAtInventoryIndex(&a4); | 5731 v6 = v0->GetItemIDAtInventoryIndex(&a4); |
5732 if ( v6 ) | 5732 if ( v6 ) |
5733 { | 5733 { |
5734 *((char *)ptr_507BD4->ptr_1C + 8) &= 0x7Fu; | 5734 *((char *)pGUIWindow_Settings->ptr_1C + 8) &= 0x7Fu; |
5735 *((short *)ptr_507BD4->ptr_1C + 2) = uActiveCharacter - 1; | 5735 *((short *)pGUIWindow_Settings->ptr_1C + 2) = uActiveCharacter - 1; |
5736 *((int *)ptr_507BD4->ptr_1C + 3) = v6 - 1; | 5736 *((int *)pGUIWindow_Settings->ptr_1C + 3) = v6 - 1; |
5737 *((short *)ptr_507BD4->ptr_1C + 3) = a4; | 5737 *((short *)pGUIWindow_Settings->ptr_1C + 3) = a4; |
5738 ptr_50C9A4 = (ItemGen *)&v0->spellbook.pDarkSpellbook.bIsSpellAvailable[36 * v6 + 5]; | 5738 ptr_50C9A4 = (ItemGen *)&v0->spellbook.pDarkSpellbook.bIsSpellAvailable[36 * v6 + 5]; |
5739 unk_50C9A0 = 0; | 5739 unk_50C9A0 = 0; |
5740 if ( pMessageQueue_50CBD0->uNumMessages ) | 5740 if ( pMessageQueue_50CBD0->uNumMessages ) |
5741 pMessageQueue_50CBD0->uNumMessages = pMessageQueue_50CBD0->pMessages[0].field_8 != 0; | 5741 pMessageQueue_50CBD0->uNumMessages = pMessageQueue_50CBD0->pMessages[0].field_8 != 0; |
5742 pMouse->SetCursorBitmap("MICON1"); | 5742 pMouse->SetCursorBitmap("MICON1"); |