summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cl_parse.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/cl_parse.c b/src/cl_parse.c
index d88d842..55806c8 100644
--- a/src/cl_parse.c
+++ b/src/cl_parse.c
@@ -336,10 +336,6 @@ static void CL_ParseFrame( int extrabits ) {
#endif
frame.clientNum = cl.clientNum;
}
- if( !frame.ps.fov ) {
- // fail out early to prevent spurious errors later
- Com_Error( ERR_DROP, "%s: bad fov", __func__ );
- }
// parse packetentities
if( cls.serverProtocol <= PROTOCOL_VERSION_DEFAULT ) {
@@ -372,6 +368,11 @@ static void CL_ParseFrame( int extrabits ) {
return; // do not change anything
}
+ if( !frame.ps.fov ) {
+ // fail out early to prevent spurious errors later
+ Com_Error( ERR_DROP, "%s: bad fov", __func__ );
+ }
+
cl.oldframe = cl.frame;
cl.frame = frame;