From 8012be9effd6d887e5e0a1a8bdf996e58d0cb6fa Mon Sep 17 00:00:00 2001 From: Nakidai Date: Sun, 22 Sep 2024 16:24:34 +0300 Subject: Move FRAMES to cpetpet.c --- cpetpet.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpetpet.c') diff --git a/cpetpet.c b/cpetpet.c index fe6234b..d106c8e 100644 --- a/cpetpet.c +++ b/cpetpet.c @@ -11,7 +11,9 @@ #include "config.h" -static char *gifs[] = { +#define FRAMES 10 + +static char *gifs[FRAMES] = { SHAREDIR "/pet0.gif", SHAREDIR "/pet1.gif", SHAREDIR "/pet2.gif", -- cgit 1.4.1