Here's my code now:
timer = get_time(timer);
mouse = sfMouse_getPosition(win);
dir.x = mouse.x - enemy[0]->pos.x;
dir.y = mouse.y - enemy[0]->pos.y;
if (timer->seconds >= 0.01/* && vector_dist(mouse, enemy[0]->pos) < 200*/) {
dir = normalize_dir(dir);
enemy[0]->pos.x += dir.x /* vector_dist(mouse, enemy[0]->pos)*/;
enemy[0]->pos.y += dir.y /* vector_dist(mouse, enemy[0]->pos)*/;
sfClock_restart(timer->clock);
}
display_sprites(enemy, 1, win);