SQL: Characters db storage type cleanup No. 4

This commit is contained in:
leak
2011-01-19 22:46:21 +01:00
parent 471b6f138d
commit a7df9ddff1
19 changed files with 161 additions and 92 deletions
@@ -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)
{