diff UIHouses.cpp @ 1278:ce8ea73e7678

changed Player::_4B6FF9 to Player::IsPlayerHealableByTemple
author Grumpy7
date Sat, 15 Jun 2013 07:52:05 +0200
parents 351bc06722f2
children 62f4cdaa726b
line wrap: on
line diff
--- a/UIHouses.cpp	Sat Jun 15 07:50:08 2013 +0200
+++ b/UIHouses.cpp	Sat Jun 15 07:52:05 2013 +0200
@@ -710,7 +710,7 @@
 		  }
 		  else if (uActiveCharacter)
 		  {
-			if ( !pPlayers[uActiveCharacter]->_4B6FF9() )
+			if ( !pPlayers[uActiveCharacter]->IsPlayerHealableByTemple() )
 			  return;
 			v8 = window_SpeakInHouse;
 		  }
@@ -4920,7 +4920,7 @@
           pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 1, v25);
           return;
         }
-        if ( !v1->_4B6FF9() )
+        if ( !v1->IsPlayerHealableByTemple() )
             return;
         v25 = 0;
         if ( pParty->uNumGold < v2 )
@@ -4993,7 +4993,7 @@
     strcpy(a1, "");
     v41->uHeight = 0;
     v41->uY = 0;
-    if ( v1->_4B6FF9() )
+    if ( v1->IsPlayerHealableByTemple() )
         {
         sprintf(a1, "%s %d %s", pGlobalTXT_LocalizationStrings[104], HIDWORD(v60), pGlobalTXT_LocalizationStrings[97]);
         v63 = 0;