summaryrefslogtreecommitdiff
path: root/src/sandbox/sprite_gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sandbox/sprite_gif.c')
-rw-r--r--src/sandbox/sprite_gif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sandbox/sprite_gif.c b/src/sandbox/sprite_gif.c
index d2a3a70..713b007 100644
--- a/src/sandbox/sprite_gif.c
+++ b/src/sandbox/sprite_gif.c
@@ -72,8 +72,8 @@ int main(int argc, char *argv[]) {
t1_src.y = (t1_src.y + t1_src.h) % t1_size.h;
/* Change dest rectangle to move the sprite if the animation cycle restart */
if (t1_src.y == 0) {
- t1_dst.x++;
- t1_dst.y++;
+ t1_dst.x +=2;
+ t1_dst.y +=2;
}
SDL_Delay(50);