summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorTony J. White <tjw@tjw.org>2006-12-11 03:47:02 +0000
committerTony J. White <tjw@tjw.org>2006-12-11 03:47:02 +0000
commitf8dbabb1f12c8b97c091b1b4f37aeb13ee380a86 (patch)
treea29c1955c965abf4bc7f868a7953540dd252638d /src/game
parent0a620bae55008e91d7de3d4e2dd0f697f8e649ca (diff)
* (bug 2961) G_UnlaggedCalc() crash on map load when using .so instead of qvm
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_active.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index f4bad98c..d62461bd 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -1072,7 +1072,7 @@ void G_UnlaggedCalc( int time, gentity_t *rewindEnt )
for( i = 0; i < level.maxclients; i++ )
{
ent = &g_entities[ i ];
- if( ent->s.number == rewindEnt->s.number )
+ if( ent == rewindEnt )
continue;
if( !ent->r.linked || !( ent->r.contents & CONTENTS_BODY ) )
continue;