mirror of
https://github.com/edubart/otclient.git
synced 2025-12-26 09:47:11 +01:00
too many changes to list, many regressions were made, master will be UNSTABLE for a few days
This commit is contained in:
@@ -26,9 +26,9 @@
|
||||
#include "declarations.h"
|
||||
|
||||
struct ScheduledEvent {
|
||||
ScheduledEvent(int ticks, const SimpleCallback& callback) : ticks(ticks), callback(callback) { }
|
||||
ScheduledEvent(ticks_t ticks, const SimpleCallback& callback) : ticks(ticks), callback(callback) { }
|
||||
bool operator<(const ScheduledEvent& other) const { return ticks > other.ticks; }
|
||||
int ticks;
|
||||
ticks_t ticks;
|
||||
SimpleCallback callback;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user