Mercurial > mm7
changeset 2533:2baaac65d5bf
Party creation arrow fix
author | Ritor1 |
---|---|
date | Mon, 19 Jan 2015 23:10:30 +0600 |
parents | 9ec6b8be16fe |
children | 1bcadc6dd203 |
files | GUI/UI/UIPartyCreation.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
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); }