[AD] Fix for _handle_timer_tick |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
I noticed that install_param_int does not work in all3926.
--- old/allegro/src/timer.c Sun Oct 3 17:03:52 1999
+++ new/allegro/src/timer.c Sun Nov 21 13:58:10 1999
@@ -74,7 +74,8 @@
/* process the user callbacks */
for (i=0; i<MAX_TIMERS; i++) {
- if ((_timer_queue[i].proc) && (_timer_queue[i].speed > 0)) {
+ if (((_timer_queue[i].proc) || (_timer_queue[i].param_proc)) &&
+ (_timer_queue[i].speed > 0)) {
_timer_queue[i].counter -= d;
while ((_timer_queue[i].counter <= 0) &&
--
Michael Bukin