Mercurial > mm7
comparison GUI/UI/UIPartyCreation.cpp @ 2533:2baaac65d5bf
Party creation arrow fix
author | Ritor1 |
---|---|
date | Mon, 19 Jan 2015 23:10:30 +0600 |
parents | 8f12e6a1fcc2 |
children | 1bcadc6dd203 |
comparison
equal
deleted
inserted
replaced
2532:9ec6b8be16fe | 2533:2baaac65d5bf |
---|---|
426 pTexture_buttminu = pIcons_LOD->LoadTexturePtr("buttminu", TEXTURE_16BIT_PALETTE); | 426 pTexture_buttminu = pIcons_LOD->LoadTexturePtr("buttminu", TEXTURE_16BIT_PALETTE); |
427 pTexture_buttplus = pIcons_LOD->LoadTexturePtr("buttplus", TEXTURE_16BIT_PALETTE); | 427 pTexture_buttplus = pIcons_LOD->LoadTexturePtr("buttplus", TEXTURE_16BIT_PALETTE); |
428 pTexture_pressrigh = pIcons_LOD->LoadTexturePtr("presrigh", TEXTURE_16BIT_PALETTE); | 428 pTexture_pressrigh = pIcons_LOD->LoadTexturePtr("presrigh", TEXTURE_16BIT_PALETTE); |
429 pTexture_presleft = pIcons_LOD->LoadTexturePtr("presleft", TEXTURE_16BIT_PALETTE); | 429 pTexture_presleft = pIcons_LOD->LoadTexturePtr("presleft", TEXTURE_16BIT_PALETTE); |
430 | 430 |
431 for (int i = 0; i < 20; ++i) | 431 for (int i = 1; i < 20; ++i) |
432 { | 432 { |
433 sprintf(pTmpBuf.data(), "arrowl%d", i + 1); | 433 sprintf(pTmpBuf.data(), "arrowl%d", i); |
434 pTextures_arrowl[i] = pIcons_LOD->LoadTexturePtr(pTmpBuf.data(), TEXTURE_16BIT_PALETTE); | 434 pTextures_arrowl[i] = pIcons_LOD->LoadTexturePtr(pTmpBuf.data(), TEXTURE_16BIT_PALETTE); |
435 | 435 |
436 sprintf(pTmpBuf.data(), "arrowr%d", i + 1); | 436 sprintf(pTmpBuf.data(), "arrowr%d", i); |
437 pTextures_arrowr[i] = pIcons_LOD->LoadTexturePtr(pTmpBuf.data(), TEXTURE_16BIT_PALETTE); | 437 pTextures_arrowr[i] = pIcons_LOD->LoadTexturePtr(pTmpBuf.data(), TEXTURE_16BIT_PALETTE); |
438 } | 438 } |
439 | 439 |
440 pGUIWindow_CurrentMenu = GUIWindow::Create(0, 0, window->GetWidth(), window->GetHeight(), WINDOW_MainMenu, 0, 0); | 440 pGUIWindow_CurrentMenu = GUIWindow::Create(0, 0, window->GetWidth(), window->GetHeight(), WINDOW_MainMenu, 0, 0); |
441 uControlParam = 0; | 441 uControlParam = 0; |