Mercurial > mm7
diff GUI/UI/UiGame.cpp @ 2516:56b6d74ce716
.
author | Ritor1 |
---|---|
date | Thu, 02 Oct 2014 22:01:06 +0600 |
parents | 491f0babd563 |
children | c7264ab7132f |
line wrap: on
line diff
--- a/GUI/UI/UiGame.cpp Thu Oct 02 21:16:27 2014 +0600 +++ b/GUI/UI/UiGame.cpp Thu Oct 02 22:01:06 2014 +0600 @@ -1911,19 +1911,19 @@ unsigned int rotate = pParty->sRotationY & stru_5C6E00->uDoublePiMask; if ( (signed int)rotate <= 1920 ) arrow_idx = 6; - else if ( (signed int)rotate < 1664 ) + if ( (signed int)rotate < 1664 ) arrow_idx = 5; - else if ( (signed int)rotate <= 1408 ) + if ( (signed int)rotate <= 1408 ) arrow_idx = 4; - else if ( (signed int)rotate < 1152 ) + if ( (signed int)rotate < 1152 ) arrow_idx = 3; - else if ( (signed int)rotate <= 896 ) + if ( (signed int)rotate <= 896 ) arrow_idx = 2; - else if ( (signed int)rotate < 640 ) + if ( (signed int)rotate < 640 ) arrow_idx = 1; - else if ( (signed int)rotate <= 384 ) + if ( (signed int)rotate <= 384 ) arrow_idx = 0; - else if ( (signed int)rotate < 128 || (signed int)rotate > 1920 ) + if ( (signed int)rotate < 128 || (signed int)rotate > 1920 ) arrow_idx = 7; pRenderer->DrawTextureTransparent(uCenterX - 3, uCenterY - 3, pIcons_LOD->GetTexture(pTextureIDs_pMapDirs[arrow_idx]));//стрелка