Mercurial > mm7
changeset 74:2c0260e09693
spellbook open crash fixed
author | zipi |
---|---|
date | Sun, 27 Jan 2013 18:13:00 +0000 |
parents | 0a7860ded5c2 |
children | 5b9ef61560cf |
files | GUIWindow.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/GUIWindow.cpp Sun Jan 27 17:05:48 2013 +0000 +++ b/GUIWindow.cpp Sun Jan 27 18:13:00 2013 +0000 @@ -984,8 +984,8 @@ v4 = 2 * (12 * pPlayer->pNumSpellBookPage + (unsigned __int8)*(&byte_4E2431[12 * pPlayer->pNumSpellBookPage] + v3)); pWindow->CreateButton(pViewport->uViewportX + dword_4E20D0[v4], pViewport->uViewportY + dword_4E20D0[v4 + 1], - *(short *)(dword_50640C[v3] + 24), - *(short *)(dword_50640C[v3] + 26), + dword_506408[v3 + 1]->uTextureWidth, + dword_506408[v3 + 1]->uTextureHeight, 1, 79, 0x56u, v3, 0, "", 0); ++a2; }