diff options
author | Tim Angus <tim@ngus.net> | 2005-10-03 20:52:19 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-10-03 20:52:19 +0000 |
commit | 57a17f003806d9326b64317babf866d6111c0abb (patch) | |
tree | 9783aa743a70eadc3c2e6d88117d145d6d1ba3cb /src/game/g_physics.c | |
parent | e6f475ab2290ff7bc847336ed1f211f2092ac602 (diff) |
* Removed jump pad code (and associated media loading)
* Removed loading of some Q3 cruft
* Spilled events attached to temporary entities are now reattached to their
original entities, fixing the missing flame bug
* Fixed "suicide god" bug
* Fixed bug where zap ignores armour
* Fixed missing particle systems when follow-spectating
* Fixed potential bug involving dodgy pointer arithmetic in CG_LoadClientInfo
* Cleaned up logic in CG_AddPlayerWeapon
* MASK_SHOT traces no longer collide with corpses
* Corpses timeout in 20 seconds instead of 60
* Improved robustness of spawn validation, fixing the bug on transit
* A crapload of whitespace fixes
Diffstat (limited to 'src/game/g_physics.c')
-rw-r--r-- | src/game/g_physics.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/g_physics.c b/src/game/g_physics.c index 63abaf9e..c6c03f69 100644 --- a/src/game/g_physics.c +++ b/src/game/g_physics.c @@ -82,7 +82,7 @@ void G_Physics( gentity_t *ent, int msec ) trace_t tr; int contents; int mask; - + // if groundentity has been set to -1, it may have been pushed off an edge if( ent->s.groundEntityNum == -1 ) { @@ -100,7 +100,7 @@ void G_Physics( gentity_t *ent, int msec ) ent->s.pos.trTime = level.time; } } - + // trace a line from the previous position to the current position if( ent->clipmask ) mask = ent->clipmask; @@ -120,7 +120,7 @@ void G_Physics( gentity_t *ent, int msec ) VectorMA( origin, -2.0f, ent->s.origin2, origin ); trap_Trace( &tr, ent->r.currentOrigin, ent->r.mins, ent->r.maxs, origin, ent->s.number, mask ); - + if( tr.fraction == 1.0f ) ent->s.groundEntityNum = -1; @@ -145,7 +145,7 @@ void G_Physics( gentity_t *ent, int msec ) // check think function G_RunThink( ent ); - if( tr.fraction == 1.0f ) + if( tr.fraction == 1.0f ) return; // if it is in a nodrop volume, remove it |