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_Fly) ||
|
||||||
hum->follow_target.Get()->HasBuffEffect(kBET_Jump))
|
hum->follow_target.Get()->HasBuffEffect(kBET_Jump))
|
||||||
){
|
){
|
||||||
hum->moving = false;
|
if (hum->IsPlayer()) {
|
||||||
hum->moved_frames = 0;
|
hum->AsPlayer()->moving = false;
|
||||||
|
hum->AsPlayer()->moved_frames = 0;
|
||||||
|
}
|
||||||
hum->follow_target.Detach();
|
hum->follow_target.Detach();
|
||||||
hum->room->xtimer.DeleteTimer(hum->room->xtimer.GetRunningTimer());
|
hum->room->xtimer.DeleteTimer(hum->room->xtimer.GetRunningTimer());
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user