lavaballs do not drive one ABSOLUTELY INSANE anymore. (Except when you
get hit by them and they knock you into said lava, but that's another
story entirely..)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2117
d7cf8633-e32d-0410-b094-
e92efae38249
if (cont <= CONTENTS_WATER)
{
if (cont <= CONTENTS_WATER)
{
- if (ent->v.watertype == CONTENTS_EMPTY)
+ if (ent->v.watertype == CONTENTS_EMPTY && cont != CONTENTS_LAVA)
// just crossed into water
SV_StartSound (ent, 0, "misc/h2ohit1.wav", 255, 1);
// just crossed into water
SV_StartSound (ent, 0, "misc/h2ohit1.wav", 255, 1);
- if (ent->v.watertype != CONTENTS_EMPTY)
+ if (ent->v.watertype != CONTENTS_EMPTY && ent->v.watertype != CONTENTS_LAVA)
// just crossed into water
SV_StartSound (ent, 0, "misc/h2ohit1.wav", 255, 1);
// just crossed into water
SV_StartSound (ent, 0, "misc/h2ohit1.wav", 255, 1);