diff --git a/.vimrc b/.vimrc index b520fda..bab9024 100644 --- a/.vimrc +++ b/.vimrc @@ -5,5 +5,5 @@ nnoremap :ter ++close env LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./ ./_build/debu packadd termdebug let g:termdebug_wide = 1 -let g:syntastic_c_include_dirs = [ '_build', '/usr/include/SDL2', 'steamworks_c_wrapper/src' ] +let g:syntastic_c_include_dirs = [ '_build/debug', '/usr/include/SDL2', 'steamworks_c_wrapper/src' ] let g:syntastic_cpp_include_dirs = [ 'steamworks_c_wrapper/sdk/public/steam' ] diff --git a/src/skill.c b/src/skill.c index c990256..0898319 100644 --- a/src/skill.c +++ b/src/skill.c @@ -378,6 +378,7 @@ skill_trip(Skill *skill, SkillData *data) RoomSpace *space = &data->matrix->spaces[targetPos.x][targetPos.y]; mixer_play_effect(SWING0 + get_random(2)); + animation_run(data->player->swordAnimation); if (space->monster) { mixer_play_effect(SWORD_HIT); int dmg = stats_fight(&data->player->stats, &space->monster->stats);