X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fcartoons.c;h=96ad97938182c11f9353ce87717f7ffeaf01ac57;hb=34efaa3925a28cb95ecb05bf2c693c16f6edfe2f;hp=44242e8753fad73e83a23599efb9283a4e905a4a;hpb=2357c391b4a587709627cc30316734b3c83c8134;p=rocksndiamonds.git 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;