summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c22
1 files changed, 6 insertions, 16 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index fc7d4dd7..4e59e867 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -2151,6 +2151,12 @@ void G_RunFrame( int levelTime )
if( !ent->r.linked && ent->neverFree )
continue;
+ if( ent->s.eType == ET_MISSILE )
+ {
+ G_RunMissile( ent );
+ continue;
+ }
+
if( ent->s.eType == ET_BUILDABLE )
{
G_BuildableThink( ent, msec );
@@ -2193,22 +2199,6 @@ void G_RunFrame( int levelTime )
// save position information for all active clients
G_UnlaggedStore( );
- // for missle impacts, move every active client one server frame time back
- // to compensate for built-in 50ms lag
- G_UnlaggedCalc( level.previousTime, NULL );
- G_UnlaggedOn( NULL, 0.0f );
- for( i = MAX_CLIENTS; i < level.num_entities ; i++)
- {
- ent = &g_entities[ i ];
- if( !ent->inuse )
- continue;
- if( ent->freeAfterEvent )
- continue;
- if( ent->s.eType == ET_MISSILE )
- G_RunMissile( ent );
- }
- G_UnlaggedOff( );
-
end = trap_Milliseconds();
//TA: