Core/InstanceSaveMgr: Prevent timer underflow by passing resetTime instead of timeLeft

--HG--
branch : trunk
This commit is contained in:
linencloth
2010-12-19 00:59:04 +01:00
parent 837e50ea23
commit 4193806dba
2 changed files with 21 additions and 8 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ class InstanceSaveManager
private:
void _ResetOrWarnAll(uint32 mapid, Difficulty difficulty, bool warn, uint32 timeleft);
void _ResetOrWarnAll(uint32 mapid, Difficulty difficulty, bool warn, time_t resetTime);
void _ResetInstance(uint32 mapid, uint32 instanceId);
void _ResetSave(InstanceSaveHashMap::iterator &itr);
void _DelHelper(const char *fields, const char *table, const char *queryTail,...);