diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-09-29 21:41:24 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-09-29 21:41:24 +0000 |
commit | 5b1969053745b8c29e0044953b744d5759c0bccd (patch) | |
tree | 1fda58b4d335677c00e87eca0733c3af12f95462 /source/sv_mvd.c | |
parent | 0da4cda7cf1a19b17c195a043880b0d0d1993c2e (diff) |
Ensure MVD client clears all entities when changing levels.
Diffstat (limited to 'source/sv_mvd.c')
-rw-r--r-- | source/sv_mvd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/sv_mvd.c b/source/sv_mvd.c index 11ab482..2cab403 100644 --- a/source/sv_mvd.c +++ b/source/sv_mvd.c @@ -61,7 +61,7 @@ whether given player is to be captured, instead of relying on this stupid and complex hack. ================== */ -qboolean SV_MvdPlayerIsActive( edict_t *ent ) { +qboolean SV_MvdPlayerIsActive( const edict_t *ent ) { int num; if( !ent->inuse ) { @@ -126,7 +126,7 @@ qboolean SV_MvdPlayerIsActive( edict_t *ent ) { return qtrue; } -static void SV_MvdCopyEntity( entity_state_t *dst, entity_state_t *src, int flags ) { +static void SV_MvdCopyEntity( entity_state_t *dst, const entity_state_t *src, int flags ) { if( !( flags & MSG_ES_FIRSTPERSON ) ) { VectorCopy( src->origin, dst->origin ); VectorCopy( src->angles, dst->angles ); |