From 337b942d5c167e31e7806cf79b6b492bd5601df1 Mon Sep 17 00:00:00 2001 From: Death Killer <884052+deathkiller@users.noreply.github.com> Date: Fri, 19 Jul 2024 15:34:15 +0200 Subject: [PATCH] Fixed build --- Sources/Jazz2/Actors/Weapons/FreezerShot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Jazz2/Actors/Weapons/FreezerShot.cpp b/Sources/Jazz2/Actors/Weapons/FreezerShot.cpp index 952e57fa..400b19cd 100644 --- a/Sources/Jazz2/Actors/Weapons/FreezerShot.cpp +++ b/Sources/Jazz2/Actors/Weapons/FreezerShot.cpp @@ -108,7 +108,7 @@ namespace Jazz2::Actors::Weapons debris.Pos = Vector2f(_pos.X + dx, _pos.Y + dy); debris.Depth = _renderer.layer(); debris.Size = Vector2f(currentSize, currentSize); - debris.Acceleration = Vector2f(0.0f, _levelHandler->Gravity); + debris.Acceleration = Vector2f(0.0f, _levelHandler->Gravity()); debris.Scale = 1.2f, debris.Alpha = 1.0f;