mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10667] Timed Achievements, Fail-Support and Opcodes
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
e78887e964
commit
ef5ea6f24f
4 changed files with 104 additions and 37 deletions
|
|
@ -1180,6 +1180,9 @@ void Player::Update( uint32 p_time )
|
|||
if(!IsInWorld())
|
||||
return;
|
||||
|
||||
// remove failed timed Achievements
|
||||
GetAchievementMgr().DoFailedTimedAchievementCriterias();
|
||||
|
||||
// undelivered mail
|
||||
if(m_nextMailDelivereTime && m_nextMailDelivereTime <= time(NULL))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue