summaryrefslogtreecommitdiff
path: root/source/mvd_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/mvd_parse.c')
-rw-r--r--source/mvd_parse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/mvd_parse.c b/source/mvd_parse.c
index f5893d9..0de9a47 100644
--- a/source/mvd_parse.c
+++ b/source/mvd_parse.c
@@ -714,7 +714,8 @@ static void MVD_PlayerToEntityStates( mvd_t *mvd ) {
mvd->numplayers++;
if( player->ps.pmove.pm_type != PM_NORMAL ) {
- continue; // can be out of sync
+ continue; // can be out of sync, in this case
+ // server should provide valid data
}
edict = &mvd->edicts[i];
@@ -776,7 +777,7 @@ static void MVD_ParsePacketEntities( mvd_t *mvd ) {
MSG_ParseDeltaEntity( &ent->s, &ent->s, number, bits );
// lazily relink even if removed
- if( number > mvd->maxclients && ( bits & RELINK_MASK ) ) {
+ if( bits & RELINK_MASK ) {
MVD_LinkEdict( mvd, ent );
}