mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-04-29 09:09:20 +02:00
disable setNextAction on walk
This commit is contained in:
parent
bddd9b078c
commit
423076bfaa
@ -977,7 +977,8 @@ void Player::onWalk(Direction& dir)
|
||||
{
|
||||
Creature::onWalk(dir);
|
||||
setNextActionTask(nullptr);
|
||||
setNextAction(OTSYS_TIME() + getStepDuration(dir));
|
||||
// TODO: Find out if really nothing brokes. This is for allow players to heal and walk or walk and open backpacks
|
||||
//setNextAction(OTSYS_TIME() + getStepDuration(dir));
|
||||
}
|
||||
|
||||
void Player::onCreatureMove(Creature* creature, const Tile* newTile, const Position& newPos,
|
||||
|
Loading…
x
Reference in New Issue
Block a user