Mage blink skill pickup items in the path #60
This commit is contained in:
parent
78e9413188
commit
d2cf79710a
|
@ -902,6 +902,7 @@ skill_blink(Skill *skill, SkillData *data)
|
||||||
destination.x += (int) data->direction.x;
|
destination.x += (int) data->direction.x;
|
||||||
destination.y += (int) data->direction.y;
|
destination.y += (int) data->direction.y;
|
||||||
space = &matrix->spaces[destination.x][destination.y];
|
space = &matrix->spaces[destination.x][destination.y];
|
||||||
|
perform_pickups_for_space(space, player);
|
||||||
}
|
}
|
||||||
|
|
||||||
destination = lastAvailableDest;
|
destination = lastAvailableDest;
|
||||||
|
|
Loading…
Reference in New Issue