Mercurial > mm7
diff 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 |
line wrap: on
line diff
--- a/GUI/UI/UIPartyCreation.cpp Mon Jan 19 22:39:03 2015 +0600 +++ b/GUI/UI/UIPartyCreation.cpp Mon Jan 19 23:10:30 2015 +0600 @@ -428,12 +428,12 @@ pTexture_pressrigh = pIcons_LOD->LoadTexturePtr("presrigh", TEXTURE_16BIT_PALETTE); pTexture_presleft = pIcons_LOD->LoadTexturePtr("presleft", TEXTURE_16BIT_PALETTE); - for (int i = 0; i < 20; ++i) + for (int i = 1; i < 20; ++i) { - sprintf(pTmpBuf.data(), "arrowl%d", i + 1); + sprintf(pTmpBuf.data(), "arrowl%d", i); pTextures_arrowl[i] = pIcons_LOD->LoadTexturePtr(pTmpBuf.data(), TEXTURE_16BIT_PALETTE); - sprintf(pTmpBuf.data(), "arrowr%d", i + 1); + sprintf(pTmpBuf.data(), "arrowr%d", i); pTextures_arrowr[i] = pIcons_LOD->LoadTexturePtr(pTmpBuf.data(), TEXTURE_16BIT_PALETTE); }