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-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.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;
}