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
+1 -2
View File
@@ -1960,13 +1960,12 @@ void ObjectMgr::LoadCreatureRespawnTimes()
return;
}
do
{
Field *fields = result->Fetch();
uint32 loguid = fields[0].GetUInt32();
uint64 respawn_time = fields[1].GetUInt64();
uint32 respawn_time = fields[1].GetUInt32();
uint32 instance = fields[2].GetUInt32();
mCreatureRespawnTimes[MAKE_PAIR64(loguid,instance)] = time_t(respawn_time);