1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-07 00:58:39 +02:00

Quests will now be handled as object member instead of inheritance. Enabled quest objects for AI.

This commit is contained in:
DjWarmonger
2012-09-16 13:34:01 +00:00
parent 5118386cb4
commit 554a98dbd7
7 changed files with 134 additions and 102 deletions

View File

@ -1281,7 +1281,8 @@ void CBoundedLabel::showAll(SDL_Surface * to)
for (int i = 0; i < lineCapacity; i++)
{
const std::string &line = lines[i];
if(!line.size()) continue;
if ( !(lines.size() && line.size())) //empty message or empty line
continue;
int x = pos.x;
if(alignment == CENTER)