Browse Source

Clean delta when getting delta from server

pull/2/head
mittorn 6 years ago
parent
commit
b534422aed
  1. 3
      engine/common/net_encode.c

3
engine/common/net_encode.c

@ -543,7 +543,8 @@ void Delta_ParseTableField( sizebuf_t *msg ) @@ -543,7 +543,8 @@ void Delta_ParseTableField( sizebuf_t *msg )
post_mul = MSG_ReadFloat( msg );
// delta encoders it's already initialized on this machine (local game)
if( delta_init ) return;
if( delta_init )
Delta_Shutdown();
// add field to table
Delta_AddField( dt->pName, pName, flags, bits, mul, post_mul );

Loading…
Cancel
Save