diff UI/UIGuilds.cpp @ 1393:28f87f5234a1

More hardcoded UI colors moved to varibables.
author Nomad
date Thu, 18 Jul 2013 16:11:57 +0200
parents bedc304ab617
children 38df78aba732
line wrap: on
line diff
--- a/UI/UIGuilds.cpp	Thu Jul 18 14:43:06 2013 +0200
+++ b/UI/UIGuilds.cpp	Thu Jul 18 16:11:57 2013 +0200
@@ -95,7 +95,7 @@
   {
     if ( dialog_menu_id != HOUSE_DIALOGUE_GUILD_BUY_BOOKS ) //buy skill
     {
-      if ( sub_4B1784_check_if_player_concious__draw_warning_else_mess_with_dlg_win() )
+      if ( HouseUI_CheckIfPlayerCanInteract() )
       {
         if ( pPlayers[uActiveCharacter]->pActiveSkills[dialog_menu_id-36] )
         {
@@ -151,7 +151,7 @@
       ++v7;
     }
     while ( v63 < 452 );
-    if ( sub_4B1784_check_if_player_concious__draw_warning_else_mess_with_dlg_win() )
+    if ( HouseUI_CheckIfPlayerCanInteract() )
     {
       v8 = 0;
       v9 = 12;
@@ -199,7 +199,7 @@
     pDialogueWindow->pNumPresenceButton = 0;
     return;
   }
-  if ( !sub_4B1784_check_if_player_concious__draw_warning_else_mess_with_dlg_win() )
+  if ( !HouseUI_CheckIfPlayerCanInteract() )
     return;
   v61 = 0;
   pSkillFlag = false;