mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-14 20:12:26 +00:00
Fix formating in ZoneDatabase::GetDecayTimes()
This commit is contained in:
parent
2c0714b5d8
commit
aae316c171
@ -1860,11 +1860,10 @@ bool Zone::RemoveSpawnGroup(uint32 in_id) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
// Added By Hogie
|
||||
bool ZoneDatabase::GetDecayTimes(npcDecayTimes_Struct* npcCorpseDecayTimes) {
|
||||
|
||||
const std::string query = "SELECT varname, value FROM variables WHERE varname LIKE 'decaytime%%' ORDER BY varname";
|
||||
bool ZoneDatabase::GetDecayTimes(npcDecayTimes_Struct *npcCorpseDecayTimes)
|
||||
{
|
||||
const std::string query =
|
||||
"SELECT varname, value FROM variables WHERE varname LIKE 'decaytime%%' ORDER BY varname";
|
||||
auto results = QueryDatabase(query);
|
||||
if (!results.Success())
|
||||
return false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user