summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-03-28 12:48:14 +0100
committerGitHub <noreply@github.com>2020-03-28 12:48:14 +0100
commit7b9dfba6689ee1ffa49d265e19ec068672b6a842 (patch)
treec9446dec1ba12718243cfb07646d1de579ddce9e /src/Mobs
parentLouder ambient sound for ghasts (diff)
downloadcuberite-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/Mobs')
-rw-r--r--src/Mobs/Monster.cpp3
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;
}