Mercurial > mm7
diff mm7_6.cpp @ 819:9359c114f98c
More on screenshot
author | Nomad |
---|---|
date | Tue, 26 Mar 2013 14:14:39 +0200 |
parents | cfc65feef029 |
children | 5e3f4bf3b8e6 c232f160e6f3 |
line wrap: on
line diff
--- a/mm7_6.cpp Tue Mar 26 13:14:41 2013 +0200 +++ b/mm7_6.cpp Tue Mar 26 14:14:39 2013 +0200 @@ -2309,7 +2309,7 @@ v24 = 0; v23 = 1; v22 = 344; - v21 = 460; + v21 = game_viewport_width; v20 = 8; v19 = 8; pGUIWindow_Settings = v17; @@ -2353,7 +2353,7 @@ pGUIWindow_Settings->CreateButton(0xA5u, 0x1A6u, 0x23u, 0, 2, 0, 0x8Du, 1u, 0x32u, "", 0); pGUIWindow_Settings->CreateButton(0x118u, 0x1A6u, 0x23u, 0, 2, 0, 0x8Du, 2u, 0x33u, "", 0); pGUIWindow_Settings->CreateButton(0x186u, 0x1A6u, 0x23u, 0, 2, 0, 0x8Du, 3u, 0x34u, "", 0); - pGUIWindow_Settings->CreateButton(8, 8, 460, 344, 1, 0, 140, 0, 0, "", NULL); + pGUIWindow_Settings->CreateButton(8, 8, game_viewport_width, 344, 1, 0, 140, 0, 0, "", NULL); sub_421B2C_PlaceInInventory_or_DropPickedItem(); } if ( HIBYTE(a5) & 2 && !pGUIWindow_Settings )