1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Recruitment should work (todo - growths, counting remaining creatures)

This commit is contained in:
Michał W. Urbańczyk
2008-04-11 17:41:02 +00:00
parent 149c6772e2
commit ffc93639ab
12 changed files with 123 additions and 34 deletions

View File

@@ -520,7 +520,7 @@ SDL_Surface * CMessage::genMessage
if (title.length())
hh=110+(21*tekst->size());
else hh=60+(21*tekst->size());
if (type==EWindowType::yesOrNO) //make place for buttons
if (type==yesOrNO) //make place for buttons
{
if (ww<200) ww=200;
hh+=70;
@@ -550,7 +550,7 @@ SDL_Surface * CMessage::genMessage
SDL_BlitSurface(tresc,NULL,ret,&trescRect);
SDL_FreeSurface(tresc);
}
if (type==EWindowType::yesOrNO) // add buttons
if (type==yesOrNO) // add buttons
{
int by = 77+tekst->size()*21;
if (title.length()) by+=40;