diff --git a/src/game/server/player.cpp b/src/game/server/player.cpp index 8df710ccd..c132bfc33 100644 --- a/src/game/server/player.cpp +++ b/src/game/server/player.cpp @@ -8101,14 +8101,14 @@ void CMovementSpeedMod::InputSpeedMod(inputdata_t &data) } } - -void SendProxy_CropFlagsToPlayerFlagBitsLength( const SendProp *pProp, const void *pStruct, const void *pVarData, DVariant *pOut, int iElement, int objectID) +void SendProxy_CropFlagsToPlayerFlagBitsLength( const SendProp* pProp, const void* pStruct, const void* pVarData, DVariant* pOut, int iElement, int objectID ) { - int mask = (1<m_Int = ( data & mask ); } + // -------------------------------------------------------------------------------- // // SendTable for CPlayerState. // -------------------------------------------------------------------------------- // diff --git a/src/public/const.h b/src/public/const.h index 256dff2df..d66e8ea0d 100644 --- a/src/public/const.h +++ b/src/public/const.h @@ -163,7 +163,7 @@ #define FL_INWATER (1<<10) // In water // NOTE if you move things up, make sure to change this value -#define PLAYER_FLAG_BITS 11 +#define PLAYER_FLAG_BITS 32 #define FL_FLY (1<<11) // Changes the SV_Movestep() behavior to not need to be on ground #define FL_SWIM (1<<12) // Changes the SV_Movestep() behavior to not need to be on ground (but stay in water)