mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-24 03:47:18 +02:00
Fixed #706.
This commit is contained in:
parent
d0e9049161
commit
2fc2fa539d
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user