1
This commit is contained in:
parent
ee22da622e
commit
2dc3809af9
@ -3734,8 +3734,10 @@ void Human::DoFollow(int target_id)
|
||||
!(hum->follow_target.Get()->HasBuffEffect(kBET_Fly) ||
|
||||
hum->follow_target.Get()->HasBuffEffect(kBET_Jump))
|
||||
){
|
||||
hum->moving = false;
|
||||
hum->moved_frames = 0;
|
||||
if (hum->IsPlayer()) {
|
||||
hum->AsPlayer()->moving = false;
|
||||
hum->AsPlayer()->moved_frames = 0;
|
||||
}
|
||||
hum->follow_target.Detach();
|
||||
hum->room->xtimer.DeleteTimer(hum->room->xtimer.GetRunningTimer());
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user