mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-16 01:01:30 +00:00
Migrate horses [skip ci]
This commit is contained in:
parent
4b55438b3a
commit
9048265283
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user