Fixes: #26 Dagger kills should now give XP

This commit is contained in:
Linus Probert 2018-07-31 14:30:41 +02:00
parent b3b8208b11
commit b12e5d4f7a
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ projectile_update(Projectile *p, UpdateData *data)
linkedlist_append(&data->map->items, item);
}
monster_hit(space->monster, dmg);
player_monster_kill_check(data->player, space->monster);
}
mixer_play_effect(SWORD_HIT);
p->alive = false;