1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-24 03:47:18 +02:00
This commit is contained in:
DjWarmonger 2011-03-08 09:09:57 +00:00
parent d0e9049161
commit 2fc2fa539d
2 changed files with 3 additions and 0 deletions

View File

@ -612,6 +612,7 @@ void CRClickPopup::close()
void CRClickPopup::createAndPush(const std::string &txt)
{
int player = LOCPLINT ? LOCPLINT->playerID : 1; //if no player, then use blue
CSimpleWindow * temp = CMessage::genWindow(txt,player,true);
CRClickPopupInt *rcpi = new CRClickPopupInt(temp,true);
GH.pushInt(rcpi);

View File

@ -101,6 +101,7 @@ void CGeneralTextHandler::load()
loadToIt(hTxts[iii].bonusName,buf,i,4);
loadToIt(hTxts[iii].shortBonus,buf,i,4);
loadToIt(hTxts[iii].longBonus,buf,i,3);
trimQuotation(hTxts[iii].longBonus);
}
buf = bitmaph->getTextFile("HEROBIOS.TXT");
@ -108,6 +109,7 @@ void CGeneralTextHandler::load()
for (int iii=0;iii<hTxts.size();iii++)
{
loadToIt(hTxts[iii].biography,buf,i,3);
trimQuotation(hTxts[iii].biography);
}
int it;