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/Mobs | |
parent | Louder ambient sound for ghasts (diff) | |
download | cuberite-7b9dfba6689ee1ffa49d265e19ec068672b6a842.tar cuberite-7b9dfba6689ee1ffa49d265e19ec068672b6a842.tar.gz cuberite-7b9dfba6689ee1ffa49d265e19ec068672b6a842.tar.bz2 cuberite-7b9dfba6689ee1ffa49d265e19ec068672b6a842.tar.lz cuberite-7b9dfba6689ee1ffa49d265e19ec068672b6a842.tar.xz cuberite-7b9dfba6689ee1ffa49d265e19ec068672b6a842.tar.zst cuberite-7b9dfba6689ee1ffa49d265e19ec068672b6a842.zip |
Diffstat (limited to 'src/Mobs')
-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; } |