diff options
author | Mat <mail@mathias.is> | 2020-03-28 12:48:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-28 12:48:14 +0100 |
commit | 7b9dfba6689ee1ffa49d265e19ec068672b6a842 (patch) | |
tree | c9446dec1ba12718243cfb07646d1de579ddce9e /src | |
parent | Louder ambient sound for ghasts (diff) | |
download | cuberite-ghastsounds.tar cuberite-ghastsounds.tar.gz cuberite-ghastsounds.tar.bz2 cuberite-ghastsounds.tar.lz cuberite-ghastsounds.tar.xz cuberite-ghastsounds.tar.zst cuberite-ghastsounds.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/Mobs/Monster.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index 53dc3aba5..004103d6e 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -398,7 +398,8 @@ void cMonster::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) auto SoundPitchMultiplier = 1.0f + (Random.RandReal(1.0f) - Random.RandReal(1.0f)) * 0.2f; auto SoundVolume = 1.0f; - if (GetMobType() == mtGhast) { + if (GetMobType() == mtGhast) + { // Ghasts are loud... SoundVolume = 10.0f; } |