Fix db2 activities
This commit is contained in:
@@ -159,21 +159,21 @@ void PerkProgramDataStoreMgr::LoadActivities()
|
||||
GenerateRandomActivities(false);
|
||||
return;
|
||||
}
|
||||
/* do
|
||||
do
|
||||
{
|
||||
Field* fields = result->Fetch();
|
||||
uint32 activityId = fields[0].GetUInt32();
|
||||
PerkProgramActivityEntry const* entry = sPerkProgramActivityStore.LookupEntry(activityId);
|
||||
PerksActivityEntry const* entry = sPerksActivityStore.LookupEntry(activityId);
|
||||
if (!entry)
|
||||
return;
|
||||
PerkProgramData::ActivityTemplate ac;
|
||||
ac.ActivityID = entry->Id;
|
||||
ac.ActivityID = entry->ID;
|
||||
ac.CriteriaTree = entry->CriteriaTreeID;
|
||||
ac.CurrencyAmount = entry->ThresholdContributionAmount;
|
||||
ac.Priority = 0;
|
||||
m_activeActivity.push_back(ac);
|
||||
|
||||
} while (result->NextRow());*/ //TODO
|
||||
} while (result->NextRow());
|
||||
}
|
||||
|
||||
void PerkProgramDataStoreMgr::GenerateRandomActivities(bool clearOld)
|
||||
|
||||
Reference in New Issue
Block a user