… | |
… | |
72 | |
72 | |
73 | animations.push_back (anim0); |
73 | animations.push_back (anim0); |
74 | } |
74 | } |
75 | |
75 | |
76 | sprintf (buf, "%s/animations", settings.datadir); |
76 | sprintf (buf, "%s/animations", settings.datadir); |
77 | LOG (llevDebug, "Reading animations from %s...", buf); |
77 | LOG (llevDebug, "Reading animations from %s...\n", buf); |
78 | if ((fp = fopen (buf, "r")) == NULL) |
78 | if ((fp = fopen (buf, "r")) == NULL) |
79 | { |
79 | { |
80 | LOG (llevError, "Cannot open animations file %s: %s\n", buf, strerror (errno)); |
80 | LOG (llevError, "Cannot open animations file %s: %s\n", buf, strerror (errno)); |
81 | exit (-1); |
81 | exit (-1); |
82 | } |
82 | } |