1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Fixed loot string.

This commit is contained in:
DjWarmonger 2009-09-17 19:22:47 +00:00
parent 4c1c03cf37
commit af1f53cd65

View File

@ -265,8 +265,8 @@ DLL_EXPORT std::string MetaString::buildList () const
{ {
if (i > 0 && message[i] == TEXACT_STRING || message[i] == TLOCAL_STRING) if (i > 0 && message[i] == TEXACT_STRING || message[i] == TLOCAL_STRING)
{ {
if (i == message.size() - 1) if (exSt == exactStrings.size() - 1)
lista += " and "; lista += VLC->generaltexth->allTexts[141]; //" and "
else else
lista += ", "; lista += ", ";
} }