SQL: Characters db storage type cleanup No. 4
This commit is contained in:
@@ -340,7 +340,7 @@ void InstanceSaveManager::LoadResetTimes()
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
uint32 instance = fields[1].GetUInt32();
|
||||
time_t resettime = time_t(fields[0].GetUInt64() + 2 * HOUR);
|
||||
time_t resettime = time_t(fields[0].GetUInt32() + 2 * HOUR);
|
||||
InstResetTimeMapDiffType::iterator itr = instResetTime.find(instance);
|
||||
if (itr != instResetTime.end() && itr->second.second != resettime)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user