kill pressures at LCA

This commit is contained in:
Bryce Hutchings 2002-07-02 07:24:56 +00:00
parent 7cbc42826c
commit d86c1994f8
2 changed files with 9 additions and 0 deletions

View file

@ -54,3 +54,5 @@
* Fixed subs and limchasecam * Fixed subs and limchasecam
* The captain status no longer stays on people after mapchanges * The captain status no longer stays on people after mapchanges
* Commands like "drop weapon ; use throwing combat knife" now work as expected. * Commands like "drop weapon ; use throwing combat knife" now work as expected.
* Pressures are killed on LCA
* Matchmode ping determine code in

View file

@ -5,6 +5,9 @@
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// //
// $Log$ // $Log$
// Revision 1.19 2002/07/02 07:22:10 niceass
// kill pressures at LCA
//
// Revision 1.18 2002/06/16 20:06:13 jbravo // Revision 1.18 2002/06/16 20:06:13 jbravo
// Reindented all the source files with "indent -kr -ut -i8 -l120 -lc120 -sob -bad -bap" // Reindented all the source files with "indent -kr -ut -i8 -l120 -lc120 -sob -bad -bap"
// //
@ -665,6 +668,10 @@ void CG_AddPressureEntity(localEntity_t * le)
vec3_t origin; vec3_t origin;
float alpha; float alpha;
// Kill it if LCA.
if (cg.lca)
CG_FreeLocalEntity(le);
if (le->leFlags == LEF_WATER) { if (le->leFlags == LEF_WATER) {
return; return;
/* /*