mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-22 23:41:29 +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;
|
const char* fileName = spells[spell_id].teleport_zone;
|
||||||
|
|
||||||
std::string query = StringFormat("SELECT race, gender, texture, mountspeed FROM horses WHERE filename = '%s'", fileName);
|
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()) {
|
if (!results.Success()) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user