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

- build system update

- compile fix for quests (vector can't be used to store const data)
- fixed several "unitialized" warnings
This commit is contained in:
Ivan Savenko
2012-07-06 20:19:54 +00:00
parent 12511d8fee
commit 50e8bc1704
13 changed files with 64 additions and 32 deletions

View File

@@ -1217,9 +1217,9 @@ std::vector < const CGDwelling * > CPlayerSpecificInfoCallback::getMyDwellings()
return ret;
}
std::vector <const QuestInfo> CPlayerSpecificInfoCallback::getMyQuests() const
std::vector <QuestInfo> CPlayerSpecificInfoCallback::getMyQuests() const
{
std::vector <const QuestInfo> ret;
std::vector <QuestInfo> ret;
BOOST_FOREACH (auto quest, gs->getPlayer(player)->quests)
{
ret.push_back (quest);