diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-02-04 00:49:50 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-02-07 12:54:23 -0800 |
commit | c67c2b7435a13d7ce17b2075e22dc5c6036f702a (patch) | |
tree | b84b7b205a361b39d65944a9edb2a353356a9ac9 /src/common/timer.cpp | |
parent | b3a0b3e7c94bce46bc0654528df0748cf0c2a6ac (diff) | |
download | tmwa-c67c2b7435a13d7ce17b2075e22dc5c6036f702a.tar.gz tmwa-c67c2b7435a13d7ce17b2075e22dc5c6036f702a.tar.bz2 tmwa-c67c2b7435a13d7ce17b2075e22dc5c6036f702a.tar.xz tmwa-c67c2b7435a13d7ce17b2075e22dc5c6036f702a.zip |
Remove some more Skill-related stuff
Diffstat (limited to 'src/common/timer.cpp')
-rw-r--r-- | src/common/timer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/timer.cpp b/src/common/timer.cpp index 65f04e0..92d284c 100644 --- a/src/common/timer.cpp +++ b/src/common/timer.cpp @@ -185,11 +185,13 @@ void delete_timer(timer_id id, timer_func func) FPRINTF(stderr, "delete_timer error : no such timer %d\n", id); abort(); } +#ifndef delete_timer if (timer_data[id].func != func) { FPRINTF(stderr, "Timer mismatch\n"); abort(); } +#endif // "to let them disappear" - is this just in case? timer_data[id].func = NULL; timer_data[id].type = TIMER_ONCE_AUTODEL; |