diff options
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Ghast.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Ghast.cpp b/src/Mobs/Ghast.cpp index 2488e63b1..104fb642e 100644 --- a/src/Mobs/Ghast.cpp +++ b/src/Mobs/Ghast.cpp @@ -40,7 +40,7 @@ bool cGhast::Attack(std::chrono::milliseconds a_Dt) Vector3d Speed = GetLookVector() * 20; Speed.y = Speed.y + 1; - auto GhastBall = cpp14::make_unique<cGhastFireballEntity>(this, GetPosX(), GetPosY() + 1, GetPosZ(), Speed); + auto GhastBall = cpp14::make_unique<cGhastFireballEntity>(this, GetPosition().addedY(1), Speed); auto GhastBallPtr = GhastBall.get(); if (!GhastBallPtr->Initialize(std::move(GhastBall), *m_World)) { |