SQL: Characters db storage type cleanup No. 4
This commit is contained in:
1 parent
471b6f138d
commit
a7df9ddff1
19 files changed
+161
-92
No files matched your search
@@ -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