From fa68923c6a941d8d55a3f06210e3483417c119c7 Mon Sep 17 00:00:00 2001 From: Victor Gamper Date: Tue, 4 Feb 2020 17:43:56 +0100 Subject: Fixed timings after I confused milli- and microseconds --- PidginImage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'PidginImage.c') diff --git a/PidginImage.c b/PidginImage.c index 791926d..9cd0b39 100644 --- a/PidginImage.c +++ b/PidginImage.c @@ -34,7 +34,7 @@ void draw_Pidgin(SDL_Surface* surface, int x, int y) { void Pidgin_IncrementFrame() { delay++; //printf("%d\n", delay); - if(delay >= 50) { + if(delay >= 10) { delay = 0; animation_index+=ax; sdl_rect_source.y = animation_index * PIDGIN_HEIGHT; -- cgit v1.2.3