Removed a type warning

This commit is contained in:
Linus Probert 2018-09-21 12:39:45 +02:00
parent 3bbe9176b8
commit 35c3be45e0
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ skill_backstab(Skill *skill, SkillData *data)
player_monster_kill_check(data->player, m);
if (dmg) {
mixer_play_effect(SWORD_HIT);
monster_set_state(m, STUNNED, 1 + player_has_artifact(data->player, INCREASED_STUN));
monster_set_state(m, STUNNED, (Uint8)(1 + player_has_artifact(data->player, INCREASED_STUN)));
}
}