started working on sounds
This commit is contained in:
@@ -195,6 +195,7 @@ void CMOBAPlayer::SendToServer()
|
||||
.fYaw = fYaw,
|
||||
};
|
||||
movement.type = PACKET_TYPE_PLAYER_MOVEMENT;
|
||||
|
||||
if (INetworking::IsClient())
|
||||
{
|
||||
if (g_localClient->pBasePlayer != this)
|
||||
@@ -212,7 +213,6 @@ void CMOBAPlayer::SendToServer()
|
||||
INetworking::SendDataEverybodyExcept(&movement, sizeof(PlayerMovement_t), this, MESSAGE_MODE_RELIABLE);
|
||||
}
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
void CMOBAPlayer::RecieveFromServer( void *pData, uint32_t nDataSize )
|
||||
|
||||
Reference in New Issue
Block a user