Mercurial > mm7
diff UIMainMenu.cpp @ 1268:2929c4406d2c
guiwindow funcs cleanup
author | Gloval |
---|---|
date | Sat, 15 Jun 2013 01:22:17 +0400 |
parents | b9747d9e9b4e |
children |
line wrap: on
line diff
--- a/UIMainMenu.cpp Thu Jun 13 23:41:42 2013 +0400 +++ b/UIMainMenu.cpp Sat Jun 15 01:22:17 2013 +0400 @@ -313,7 +313,7 @@ pFontQuick->_44D2FD_prolly_draw_credits_entry(pFontCChar, 0, a2.uFrameHeight, (signed __int16)pTexture2.uWidth, (signed __int16)pTexture2.uHeight, pColor1, pColor2, pString, pTexture2.pPixels, (signed __int16)pTexture2.uWidth); free(pString); - pWindow_MainMenu = GUIWindow::Create(0, 0, 640, 480, WINDOW_MainMenu, 0, (int)ptr); + pWindow_MainMenu = GUIWindow::Create(0, 0, 640, 480, WINDOW_MainMenu, 0, ptr); pWindow_MainMenu->CreateButton(0, 0, 0, 0, 1, 0, UIMSG_Escape, 0, 0x1Bu, "", 0); pCurrentScreen = SCREEN_CREATORS; SetCurrentMenuID(MENU_CREDITSPROC);