changes to woter thing
This commit is contained in:
1 parent
b9653b4ff8
commit
ee5d667a24
2 files changed
+5
-4
No files matched your search
+4
-2
@@ -5833,6 +5833,8 @@ void K_SpawnWaterRunParticles(mobj_t *mobj)
|
||||
{
|
||||
trailScale = mapobjectscale; // Scaling is based off difference between runspeed and top speed
|
||||
}
|
||||
|
||||
trailScale = trailScale*0.70;
|
||||
|
||||
if (trailScale > 0)
|
||||
{
|
||||
@@ -5904,11 +5906,11 @@ void K_SpawnWaterRunParticles(mobj_t *mobj)
|
||||
P_SetMobjState(water, curOverlayFrame);
|
||||
P_SetTarget(&water, mobj);
|
||||
|
||||
if (!S_SoundPlaying(mobj, sfx_s3kdbs))
|
||||
/*if (!S_SoundPlaying(mobj, sfx_s3kdbs))
|
||||
{
|
||||
const INT32 volume = (min(trailScale, FRACUNIT) * 255) / FRACUNIT;
|
||||
S_StartSoundAtVolume(mobj, sfx_s3kdbs, volume);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
// Little water sound while touching water - just a nicety.
|
||||
|
||||
+1
-2
@@ -2460,7 +2460,6 @@ static void P_MovePlayer(player_t *player)
|
||||
player->climbing = 0;
|
||||
}
|
||||
|
||||
#if 0
|
||||
// If you're running fast enough, you can create splashes as you run in shallow water.
|
||||
if (!player->climbing
|
||||
&& ((!(player->mo->eflags & MFE_VERTICALFLIP) && player->mo->z + player->mo->height >= player->mo->watertop && player->mo->z <= player->mo->watertop)
|
||||
@@ -2482,7 +2481,7 @@ static void P_MovePlayer(player_t *player)
|
||||
water->destscale = player->mo->scale;
|
||||
P_SetScale(water, player->mo->scale);
|
||||
}
|
||||
#endif
|
||||
|
||||
// Little water sound while touching water - just a nicety.
|
||||
if ((player->mo->eflags & MFE_TOUCHWATER) && !(player->mo->eflags & MFE_UNDERWATER) && !player->spectator)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user