X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fcartoons.c;h=96ad97938182c11f9353ce87717f7ffeaf01ac57;hp=44242e8753fad73e83a23599efb9283a4e905a4a;hb=833cc59e0cc1802432f21ddbaa763c99e541fafe;hpb=89987a00158f6655e3475053d3f52aa256f0768b diff --git a/src/cartoons.c b/src/cartoons.c index 44242e87..96ad9793 100644 --- a/src/cartoons.c +++ b/src/cartoons.c @@ -191,8 +191,8 @@ void HandleAnimation(int mode) boolean AnimateToon(int toon_nr, boolean restart) { - static pos_x = 0, pos_y = 0; - static delta_x = 0, delta_y = 0; + static int pos_x = 0, pos_y = 0; + static int delta_x = 0, delta_y = 0; static int frame = 0, frame_step = 1; static boolean horiz_move, vert_move; static long anim_delay = 0;