diff UI/UiGame.cpp @ 2000:985fff9fb62d

constructor functions
author zipi
date Tue, 05 Nov 2013 21:55:52 +0000
parents 5cd26f2c6904
children 591024ad7269
line wrap: on
line diff
--- a/UI/UiGame.cpp	Tue Nov 05 12:58:19 2013 +0600
+++ b/UI/UiGame.cpp	Tue Nov 05 21:55:52 2013 +0000
@@ -615,9 +615,9 @@
       pButton->uHeight = pTextHeight;
       v42 = pButton->uY + pTextHeight - 1;
       pButton->uW = v42;
-      pTextColor = ui_game_dialogue_option_highlight_color;
-      if ( pDialogueWindow->pCurrentPosActiveItem != i )
-        pTextColor = ui_game_dialogue_option_normal_color;
+      pTextColor = ui_game_dialogue_option_normal_color;
+      if ( pDialogueWindow->pCurrentPosActiveItem == i )
+		pTextColor = ui_game_dialogue_option_highlight_color;
       window.DrawTitleText(pFontArrus, 0, pButton->uY, pTextColor, pButton->pButtonName, 3);
     }
   }