54 return Super::PlayerTick(DeltaTime);
56 if (!bShortConnectTimeOut)
58 bShortConnectTimeOut =
true;
62 TickPlayerInput(DeltaTime, DeltaTime == 0.f);
65 if ((Player != NULL) && (Player->PlayerController ==
this))
68 bool bUpdateRotation =
false;
69 if (IsInState(NAME_Playing))
71 if (GetPawn() == NULL)
73 ChangeState(NAME_Inactive);
75 else if (Player && GetPawn() == AcknowledgedPawn && (!BaseCMC || (BaseCMC && !BaseCMC->IsActive())))
77 bUpdateRotation =
true;
81 if (IsInState(NAME_Inactive))
83 if (GetLocalRole() < ROLE_Authority)
85 SafeServerCheckClientPossession();
90 else if (IsInState(NAME_Spectating))
92 if (GetLocalRole() < ROLE_Authority)
94 SafeServerUpdateSpectatorState();
98 bUpdateRotation =
true;
104 UpdateRotation(DeltaTime);
111 Super::PlayerTick(DeltaTime);