I believe
@henkas asked about possibility of moving items after the player's walk is completed, like when you try to move them from distance.
The problem is that "onWalkComplete" function activates only the "addEvent walkTask. It doesn't have an access to normal player walking, so it is possible to move and use items on the ground while walking, what is weird. Needs source edit.
C++:
void Player::onWalkComplete()
{
if (walkTask) {
walkTaskEvent = g_scheduler.addEvent(walkTask);
walkTask = nullptr;
}
}
To do it add
C++:
bool isPlayerWalking = false;
in Player class and set it in whereever you want.