mirror of
https://github.com/yquake2/rogue.git
synced 2025-02-17 01:21:06 +00:00
Okay, eine andere Lösung. Bei der vorherigen explodierten die Proxys
leider nicht, wenn man sie in Lava warf
This commit is contained in:
parent
23862f340a
commit
57fa438154
1 changed files with 1 additions and 0 deletions
|
@ -313,6 +313,7 @@ void prox_land (edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf)
|
||||||
|
|
||||||
if (plane->normal)
|
if (plane->normal)
|
||||||
{
|
{
|
||||||
|
VectorMA (ent->s.origin, -11.0, plane->normal, land_point);
|
||||||
if (gi.pointcontents (land_point) & (CONTENTS_SLIME|CONTENTS_LAVA))
|
if (gi.pointcontents (land_point) & (CONTENTS_SLIME|CONTENTS_LAVA))
|
||||||
{
|
{
|
||||||
Prox_Explode (ent);
|
Prox_Explode (ent);
|
||||||
|
|
Loading…
Reference in a new issue