summaryrefslogtreecommitdiff
path: root/src/common/timer.h
diff options
context:
space:
mode:
authorprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-04 00:38:07 +0000
committerprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-04 00:38:07 +0000
commit8538670a61c726fbd52087fe392f0a3d961db630 (patch)
tree4d37f0ac7e29780e7794dd6aba1856a80dbae4b4 /src/common/timer.h
parent2b6c40327a3e05a18bbfabd319a0735d75fbb8e9 (diff)
downloadhercules-8538670a61c726fbd52087fe392f0a3d961db630.tar.gz
hercules-8538670a61c726fbd52087fe392f0a3d961db630.tar.bz2
hercules-8538670a61c726fbd52087fe392f0a3d961db630.tar.xz
hercules-8538670a61c726fbd52087fe392f0a3d961db630.zip
Changed some defines into an enumerator.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15829 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/timer.h')
-rw-r--r--src/common/timer.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/common/timer.h b/src/common/timer.h
index a615a5874..d45c73d12 100644
--- a/src/common/timer.h
+++ b/src/common/timer.h
@@ -11,9 +11,11 @@
#define INVALID_TIMER -1
// timer flags
-#define TIMER_ONCE_AUTODEL 0x01
-#define TIMER_INTERVAL 0x02
-#define TIMER_REMOVE_HEAP 0x10
+enum {
+ TIMER_ONCE_AUTODEL = 0x01,
+ TIMER_INTERVAL = 0x02,
+ TIMER_REMOVE_HEAP = 0x10,
+};
// Struct declaration