Migrate horses [skip ci]

This commit is contained in:
Akkadius 2020-03-11 23:29:54 -05:00
parent 4b55438b3a
commit 9048265283

View File

@ -73,7 +73,7 @@ const NPCType *Horse::BuildHorseType(uint16 spell_id) {
const char* fileName = spells[spell_id].teleport_zone;
std::string query = StringFormat("SELECT race, gender, texture, mountspeed FROM horses WHERE filename = '%s'", fileName);
auto results = database.QueryDatabase(query);
auto results = content_db.QueryDatabase(query);
if (!results.Success()) {
return nullptr;
}