-static boolean string_has_anim_parameter(char *s, char *s_contained)
-{
- char *s_copy = getStringCopy(s);
- boolean has_parameter = FALSE;
- int len_s_copy = strlen(s_copy);
- int i;
-
- // replace all "anim" and "part" numbers with 'X'
- for (i = 0; i < len_s_copy; i++)
- if (s_copy[i] >= '1' && s_copy[i] <= '8')
- s_copy[i] = 'X';
-
- has_parameter = string_has_parameter(s_copy, s_contained);
-
- checked_free(s_copy);
-
- return has_parameter;
-}
-