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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user