diff --git a/source/cl_parse.c b/source/cl_parse.c index ecad23f..97f192e 100644 --- a/source/cl_parse.c +++ b/source/cl_parse.c @@ -675,7 +675,7 @@ void CL_ParseBaseline (entity_t *ent) ent->baseline.frame = MSG_ReadByte (); ent->baseline.colormap = MSG_ReadByte(); ent->baseline.skin = MSG_ReadByte(); - ent->baseline.scale = MSG_ReadFloat(); + ent->baseline.scale = (float)MSG_ReadByte(); for (i=0 ; i<3 ; i++) { ent->baseline.origin[i] = MSG_ReadCoord (); diff --git a/source/sv_main.c b/source/sv_main.c index 2bf5c30..f08e468 100644 --- a/source/sv_main.c +++ b/source/sv_main.c @@ -1067,7 +1067,7 @@ void SV_CreateBaseline (void) MSG_WriteByte (&sv.signon, svent->baseline.frame); MSG_WriteByte (&sv.signon, svent->baseline.colormap); MSG_WriteByte (&sv.signon, svent->baseline.skin); - MSG_WriteFloat (&sv.signon, svent->baseline.scale); + MSG_WriteByte (&sv.signon, (int)svent->baseline.scale); for (i=0 ; i<3 ; i++) { MSG_WriteCoord(&sv.signon, svent->baseline.origin[i]);