Mage blink skill pickup items in the path #60

This commit is contained in:
Boris Vanhoof 2019-06-06 22:27:42 +02:00 committed by Linus Probert
parent 78e9413188
commit d2cf79710a
1 changed files with 1 additions and 0 deletions

View File

@ -902,6 +902,7 @@ skill_blink(Skill *skill, SkillData *data)
destination.x += (int) data->direction.x;
destination.y += (int) data->direction.y;
space = &matrix->spaces[destination.x][destination.y];
perform_pickups_for_space(space, player);
}
destination = lastAvailableDest;