diff --git a/Source/Client/Player.c b/Source/Client/Player.c index 7a268b91..b26e9578 100755 --- a/Source/Client/Player.c +++ b/Source/Client/Player.c @@ -103,8 +103,6 @@ void Player_Draw( void ) { self.frame2time += frametime; self.bonecontrol5 = stof( getplayerkeyvalue( player_localnum, INFOKEY_P_VOIPLOUDNESS ) ); - //self.subblendfrac = ; - //self. = self.angles_x / 90; } /* diff --git a/Source/Server/Player.c b/Source/Server/Player.c index 7afbad0c..2e3340ce 100755 --- a/Source/Server/Player.c +++ b/Source/Server/Player.c @@ -41,7 +41,7 @@ float Player_SendEntity( entity ePEnt, float fChanged ) { WriteCoord( MSG_ENTITY, self.origin_x ); WriteCoord( MSG_ENTITY, self.origin_y ); WriteCoord( MSG_ENTITY, self.origin_z ); - WriteCoord( MSG_ENTITY, self.angles_x ); + WriteCoord( MSG_ENTITY, self.v_angle_x ); WriteCoord( MSG_ENTITY, self.angles_y ); WriteCoord( MSG_ENTITY, self.angles_z ); WriteShort( MSG_ENTITY, self.velocity_x ); diff --git a/Source/Shared/Animations.c b/Source/Shared/Animations.c index e3589ae0..cafd6ea9 100755 --- a/Source/Shared/Animations.c +++ b/Source/Shared/Animations.c @@ -26,6 +26,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifdef CSQC .float frame_last; .float baseframe_last; +#else +.float subblend2frac; #endif enum { @@ -279,6 +281,8 @@ void Animation_PlayerUpdate( void ) { setorigin( self.eGunModel, self.origin ); // Set it to something consistent vector vOffset = gettaginfo( self.eGunModel, self.eGunModel.fWeaponBoneID ) - gettaginfo( self, self.fWeaponBoneID ); setorigin( self.eGunModel, self.origin - vOffset ); +#else + self.subblend2frac = self.v_angle_x / 90; #endif } diff --git a/freecs/progs.dat b/freecs/progs.dat index 44aaf455..cc1145de 100755 Binary files a/freecs/progs.dat and b/freecs/progs.dat differ