diff --git a/src/projectile.c b/src/projectile.c index 2940503..cc461ba 100644 --- a/src/projectile.c +++ b/src/projectile.c @@ -30,7 +30,7 @@ onDaggerRender(Sprite *s) if (!timer_started(s->renderTimer)) timer_start(s->renderTimer); - if (timer_get_ticks(s->renderTimer) > 100) { + if (timer_get_ticks(s->renderTimer) > 60) { timer_start(s->renderTimer); s->clip.x += 16; s->clip.x = s->clip.x % 64; diff --git a/src/skill.c b/src/skill.c index 120233b..2990b50 100644 --- a/src/skill.c +++ b/src/skill.c @@ -138,6 +138,8 @@ skill_throw_dagger(Skill *skill, SkillData *data) else p->velocity = (Vector2d) { -DAGGER_VELOCITY, 0 }; + set_player_clip_for_direction(data->player, &data->direction); + mixer_play_effect(SWOOSH); p->sprite->pos = data->player->sprite->pos; linkedlist_append(&data->player->projectiles, p);