Send player FOV across the network as floatig point.
This commit is contained in:
parent
2a291165ee
commit
c885b6aa35
4 changed files with 10 additions and 10 deletions
|
|
@ -614,7 +614,7 @@ void player_t::SetFOV(float fov)
|
|||
{
|
||||
Net_WriteByte(DEM_MYFOV);
|
||||
}
|
||||
Net_WriteByte((uint8_t)clamp<float>(fov, 5.f, 179.f));
|
||||
Net_WriteFloat(clamp<float>(fov, 5.f, 179.f));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue