1
This commit is contained in:
parent
5a1915fde5
commit
0fe9e2c114
@ -2028,6 +2028,12 @@ void Human::_UpdateMove(int speed)
|
||||
void Human::_InternalUpdateMove(float speed)
|
||||
{
|
||||
#ifdef MAP3D
|
||||
a8::Vec2 old_pos = GetPos();
|
||||
|
||||
if (HasBuffEffect(kBET_Hide)) {
|
||||
RemoveBuffByEffectId(kBET_Hide);
|
||||
}
|
||||
|
||||
room->grid_service->MoveCreature(this);
|
||||
#else
|
||||
float nx = GetMoveDir().x * speed;
|
||||
|
Loading…
x
Reference in New Issue
Block a user