mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10095] Fixed typo in function name.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
e88a718c5d
commit
c2ae24c16c
3 changed files with 5 additions and 5 deletions
|
|
@ -218,7 +218,7 @@ void InstanceResetScheduler::LoadResetTimes()
|
||||||
|
|
||||||
// clean expired instances, references to them will be deleted in CleanupInstances
|
// clean expired instances, references to them will be deleted in CleanupInstances
|
||||||
// must be done before calculating new reset times
|
// must be done before calculating new reset times
|
||||||
m_InstanceSaves._CleanupExiredInstancesAtTime(now);
|
m_InstanceSaves._CleanupExpiredInstancesAtTime(now);
|
||||||
|
|
||||||
// calculate new global reset times for expired instances and those that have never been reset yet
|
// calculate new global reset times for expired instances and those that have never been reset yet
|
||||||
// add the global reset times to the priority queue
|
// add the global reset times to the priority queue
|
||||||
|
|
@ -683,7 +683,7 @@ uint32 InstanceSaveManager::GetNumBoundGroupsTotal()
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void InstanceSaveManager::_CleanupExiredInstancesAtTime( time_t t )
|
void InstanceSaveManager::_CleanupExpiredInstancesAtTime( time_t t )
|
||||||
{
|
{
|
||||||
_DelHelper(CharacterDatabase, "id, map, instance.difficulty", "instance", "LEFT JOIN instance_reset ON mapid = map AND instance.difficulty = instance_reset.difficulty WHERE (instance.resettime < '"UI64FMTD"' AND instance.resettime > '0') OR (NOT instance_reset.resettime IS NULL AND instance_reset.resettime < '"UI64FMTD"')", (uint64)t, (uint64)t);
|
_DelHelper(CharacterDatabase, "id, map, instance.difficulty", "instance", "LEFT JOIN instance_reset ON mapid = map AND instance.difficulty = instance_reset.difficulty WHERE (instance.resettime < '"UI64FMTD"' AND instance.resettime > '0') OR (NOT instance_reset.resettime IS NULL AND instance_reset.resettime < '"UI64FMTD"')", (uint64)t, (uint64)t);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -196,7 +196,7 @@ class MANGOS_DLL_DECL InstanceSaveManager : public MaNGOS::Singleton<InstanceSav
|
||||||
// called by scheduler
|
// called by scheduler
|
||||||
void _ResetOrWarnAll(uint32 mapid, Difficulty difficulty, bool warn, uint32 timeleft);
|
void _ResetOrWarnAll(uint32 mapid, Difficulty difficulty, bool warn, uint32 timeleft);
|
||||||
void _ResetInstance(uint32 mapid, uint32 instanceId);
|
void _ResetInstance(uint32 mapid, uint32 instanceId);
|
||||||
void _CleanupExiredInstancesAtTime(time_t t);
|
void _CleanupExpiredInstancesAtTime(time_t t);
|
||||||
|
|
||||||
void _ResetSave(InstanceSaveHashMap::iterator &itr);
|
void _ResetSave(InstanceSaveHashMap::iterator &itr);
|
||||||
void _DelHelper(DatabaseType &db, const char *fields, const char *table, const char *queryTail,...);
|
void _DelHelper(DatabaseType &db, const char *fields, const char *table, const char *queryTail,...);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10094"
|
#define REVISION_NR "10095"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue