mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-06 04:42:28 +00:00
missed one time_t to int conversions
This commit is contained in:
parent
e6d574d44b
commit
c94cd65371
@ -2347,7 +2347,7 @@ bool ClientTaskState::TaskOutOfTime(int Index) {
|
|||||||
|
|
||||||
if((ActiveTasks[Index].TaskID <= 0) || (ActiveTasks[Index].TaskID >= MAXTASKS)) return false;
|
if((ActiveTasks[Index].TaskID <= 0) || (ActiveTasks[Index].TaskID >= MAXTASKS)) return false;
|
||||||
|
|
||||||
int Now = time(nullptr);
|
int Now = (int)time(nullptr);
|
||||||
|
|
||||||
TaskInformation* Task = taskmanager->Tasks[ActiveTasks[Index].TaskID];
|
TaskInformation* Task = taskmanager->Tasks[ActiveTasks[Index].TaskID];
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user