* Added actual loading of the addons table... This was missing in the original commit.
--HG-- branch : trunk
This commit is contained in:
1 parent
f5e267da16
commit
39a260d10d
2 files changed
+5
-4
No files matched your search
@@ -49,9 +49,7 @@ void AddonMgr::LoadFromDB()
|
||||
return;
|
||||
}
|
||||
|
||||
uint32 total_records = result->GetRowCount();
|
||||
|
||||
barGoLink bar(total_records);
|
||||
barGoLink bar(result->GetRowCount());
|
||||
uint32 count = 0;
|
||||
Field *fields;
|
||||
|
||||
@@ -61,7 +59,7 @@ void AddonMgr::LoadFromDB()
|
||||
bar.step();
|
||||
count++;
|
||||
|
||||
std::string name = fields[0].GetString();
|
||||
std::string name = fields[0].GetCppString();
|
||||
uint32 crc = fields[1].GetUInt32();
|
||||
|
||||
SavedAddon addon(name, crc);
|
||||
|
||||
Reference in new issue
Block a user