# HG changeset patch # User Ritor1 # Date 1421687430 -21600 # Node ID 2baaac65d5bf37af9eeb035d96f69f5c123d87e8 # Parent 9ec6b8be16fee371d2c09c93d56ebf0091f79e27 Party creation arrow fix diff -r 9ec6b8be16fe -r 2baaac65d5bf GUI/UI/UIPartyCreation.cpp --- 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); }