started working on sounds

This commit is contained in:
2025-07-20 23:48:00 +03:00
parent d786abd0fe
commit 8a29e6b86f
13 changed files with 93568 additions and 3 deletions

View File

@@ -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 )