Mercurial > mm7
comparison mm7_5.cpp @ 600:db4a23580e6c
Chest item view fixed, gold can be taken
author | Gloval |
---|---|
date | Thu, 07 Mar 2013 00:35:10 +0400 |
parents | b5240254cbbd |
children | 628694cd5744 |
comparison
equal
deleted
inserted
replaced
599:deb559e4fe47 | 600:db4a23580e6c |
---|---|
15977 { | 15977 { |
15978 v9 = pX + pSRZBufferLineOffsets[pY]; | 15978 v9 = pX + pSRZBufferLineOffsets[pY]; |
15979 if ( pRenderer->pActiveZBuffer[v9] & 0xFFFF ) | 15979 if ( pRenderer->pActiveZBuffer[v9] & 0xFFFF ) |
15980 { | 15980 { |
15981 | 15981 |
15982 __debugbreak(); // invalid indexing will result in invalid object ptr | 15982 // __debugbreak(); // invalid indexing will result in invalid object ptr |
15983 v8 = (ItemGen *)(&pOtherOverlayList->pOverlays[49].field_4 + 2662 * (unsigned int)pChestWindow->ptr_1C + 18* *((short *)&pChests[0].igChestItems[139].uExpireTime | 15983 // v8 = (ItemGen *)(&pOtherOverlayList->pOverlays[49].field_4 + 2662 * (unsigned int)pChestWindow->ptr_1C + 18* *((short *)&pChests[0].igChestItems[139].uExpireTime |
15984 + (pRenderer->pActiveZBuffer[v9] & 0xFFFF) + 2662 * (unsigned int)pChestWindow->ptr_1C + 3)); | 15984 // + (pRenderer->pActiveZBuffer[v9] & 0xFFFF) + 2662 * (unsigned int)pChestWindow->ptr_1C + 3)); |
15985 v10=pChests[pChestWindow->par1C].pInventoryIndices[(pRenderer->pActiveZBuffer[v9] & 0xFFFF)-1]; | |
15986 v8 =&pChests[pChestWindow->par1C].igChestItems[v10-1]; | |
15985 GameUI_DrawItemInfo(v8); | 15987 GameUI_DrawItemInfo(v8); |
15986 } | 15988 } |
15987 } | 15989 } |
15988 break; | 15990 break; |
15989 } | 15991 } |