mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[9688] Fixed typo in daily quest reset time init.
This commit is contained in:
parent
d78117bbc8
commit
c56000b666
2 changed files with 2 additions and 2 deletions
|
|
@ -1928,7 +1928,7 @@ void World::InitDailyQuestResetTime()
|
||||||
if (!result)
|
if (!result)
|
||||||
m_NextDailyQuestReset = time_t(time(NULL)); // game time not yet init
|
m_NextDailyQuestReset = time_t(time(NULL)); // game time not yet init
|
||||||
else
|
else
|
||||||
m_NextWeeklyQuestReset = time_t((*result)[0].GetUInt64());
|
m_NextDailyQuestReset = time_t((*result)[0].GetUInt64());
|
||||||
|
|
||||||
// generate time by config
|
// generate time by config
|
||||||
time_t curTime = time(NULL);
|
time_t curTime = time(NULL);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9687"
|
#define REVISION_NR "9688"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue