mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 02:52:35 +00:00
Merge 36411be2ad
into 2688681352
This commit is contained in:
commit
a42e331cbf
2 changed files with 8 additions and 8 deletions
|
@ -586,7 +586,7 @@ inline void CUtlBuffer::GetObject( T *dest )
|
|||
{
|
||||
if ( CheckGet( sizeof(T) ) )
|
||||
{
|
||||
if ( !m_Byteswap.IsSwappingBytes() || ( sizeof( T ) == 1 ) )
|
||||
if ( ( sizeof( T ) == 1 ) || !m_Byteswap.IsSwappingBytes() )
|
||||
{
|
||||
*dest = *(T *)PeekGet();
|
||||
}
|
||||
|
@ -618,7 +618,7 @@ inline void CUtlBuffer::GetTypeBin( T &dest )
|
|||
{
|
||||
if ( CheckGet( sizeof(T) ) )
|
||||
{
|
||||
if ( !m_Byteswap.IsSwappingBytes() || ( sizeof( T ) == 1 ) )
|
||||
if ( ( sizeof( T ) == 1 ) || !m_Byteswap.IsSwappingBytes() )
|
||||
{
|
||||
dest = *(T *)PeekGet();
|
||||
}
|
||||
|
@ -804,7 +804,7 @@ inline void CUtlBuffer::PutObject( T *src )
|
|||
{
|
||||
if ( CheckPut( sizeof(T) ) )
|
||||
{
|
||||
if ( !m_Byteswap.IsSwappingBytes() || ( sizeof( T ) == 1 ) )
|
||||
if ( ( sizeof( T ) == 1 ) || !m_Byteswap.IsSwappingBytes() )
|
||||
{
|
||||
*(T *)PeekPut() = *src;
|
||||
}
|
||||
|
@ -833,7 +833,7 @@ inline void CUtlBuffer::PutTypeBin( T src )
|
|||
{
|
||||
if ( CheckPut( sizeof(T) ) )
|
||||
{
|
||||
if ( !m_Byteswap.IsSwappingBytes() || ( sizeof( T ) == 1 ) )
|
||||
if ( ( sizeof( T ) == 1 ) || !m_Byteswap.IsSwappingBytes() )
|
||||
{
|
||||
*(T *)PeekPut() = src;
|
||||
}
|
||||
|
|
|
@ -586,7 +586,7 @@ inline void CUtlBuffer::GetObject( T *dest )
|
|||
{
|
||||
if ( CheckGet( sizeof(T) ) )
|
||||
{
|
||||
if ( !m_Byteswap.IsSwappingBytes() || ( sizeof( T ) == 1 ) )
|
||||
if ( ( sizeof( T ) == 1 ) || !m_Byteswap.IsSwappingBytes() )
|
||||
{
|
||||
*dest = *(T *)PeekGet();
|
||||
}
|
||||
|
@ -618,7 +618,7 @@ inline void CUtlBuffer::GetTypeBin( T &dest )
|
|||
{
|
||||
if ( CheckGet( sizeof(T) ) )
|
||||
{
|
||||
if ( !m_Byteswap.IsSwappingBytes() || ( sizeof( T ) == 1 ) )
|
||||
if ( ( sizeof( T ) == 1 ) || !m_Byteswap.IsSwappingBytes() )
|
||||
{
|
||||
dest = *(T *)PeekGet();
|
||||
}
|
||||
|
@ -804,7 +804,7 @@ inline void CUtlBuffer::PutObject( T *src )
|
|||
{
|
||||
if ( CheckPut( sizeof(T) ) )
|
||||
{
|
||||
if ( !m_Byteswap.IsSwappingBytes() || ( sizeof( T ) == 1 ) )
|
||||
if ( ( sizeof( T ) == 1 ) || !m_Byteswap.IsSwappingBytes() )
|
||||
{
|
||||
*(T *)PeekPut() = *src;
|
||||
}
|
||||
|
@ -833,7 +833,7 @@ inline void CUtlBuffer::PutTypeBin( T src )
|
|||
{
|
||||
if ( CheckPut( sizeof(T) ) )
|
||||
{
|
||||
if ( !m_Byteswap.IsSwappingBytes() || ( sizeof( T ) == 1 ) )
|
||||
if ( ( sizeof( T ) == 1 ) || !m_Byteswap.IsSwappingBytes() )
|
||||
{
|
||||
*(T *)PeekPut() = src;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue