1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Fixed all the issues with Quests, #828 and #1223.

Upgrade cost will never be negative.
This commit is contained in:
DjWarmonger
2013-07-23 15:03:01 +00:00
parent b1a569910b
commit 66d6aebe32
7 changed files with 37 additions and 18 deletions

View File

@@ -241,10 +241,10 @@ CGeneralTextHandler::CGeneralTextHandler()
//skip header
parser.endLine();
parser.endLine();
for (int i = 0; i < 6; ++i)
seerEmpty.push_back(parser.readString());
parser.endLine();
quests.resize(10);
for (int i = 0; i < 9; ++i) //9 types of quests