Fixes: #26 Dagger kills should now give XP
This commit is contained in:
parent
b3b8208b11
commit
b12e5d4f7a
|
@ -100,6 +100,7 @@ projectile_update(Projectile *p, UpdateData *data)
|
||||||
linkedlist_append(&data->map->items, item);
|
linkedlist_append(&data->map->items, item);
|
||||||
}
|
}
|
||||||
monster_hit(space->monster, dmg);
|
monster_hit(space->monster, dmg);
|
||||||
|
player_monster_kill_check(data->player, space->monster);
|
||||||
}
|
}
|
||||||
mixer_play_effect(SWORD_HIT);
|
mixer_play_effect(SWORD_HIT);
|
||||||
p->alive = false;
|
p->alive = false;
|
||||||
|
|
Loading…
Reference in New Issue