summaryrefslogtreecommitdiff
path: root/src/common/timer.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-15 01:41:49 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-15 01:41:49 +0000
commit5f432aa0e316f5afb293f25f3e74c79a23a661f4 (patch)
tree670a7f458f6bc3a017b9eda858024eb778587a4e /src/common/timer.h
parent528ea8ab556b8fa53a49c3cbf72b7e9a2a678c5e (diff)
downloadhercules-5f432aa0e316f5afb293f25f3e74c79a23a661f4.tar.gz
hercules-5f432aa0e316f5afb293f25f3e74c79a23a661f4.tar.bz2
hercules-5f432aa0e316f5afb293f25f3e74c79a23a661f4.tar.xz
hercules-5f432aa0e316f5afb293f25f3e74c79a23a661f4.zip
* Fixed pop_timer_heap using max heap comparisons instead of min heap comparisons and protected timer functions against improper use. (should fix bugreport:1833 bugreport:1841)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12956 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/timer.h')
-rw-r--r--src/common/timer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/timer.h b/src/common/timer.h
index 354a71113..980907a70 100644
--- a/src/common/timer.h
+++ b/src/common/timer.h
@@ -15,6 +15,7 @@
// timer flags
#define TIMER_ONCE_AUTODEL 0x01
#define TIMER_INTERVAL 0x02
+#define TIMER_FORCE_REMOVE 0x04
#define TIMER_REMOVE_HEAP 0x10
// Struct declaration