From 49dd67c01289b6a347a6dc900ff76a3fd3da11d7 Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Wed, 22 Jun 2022 18:12:25 +0200 Subject: [PATCH] Revert "Fix for invisible ball in certain maps" This reverts commit 75bc2b7b7cc8b977399d88ed6be6f70d1d8284ca. --- P3D/Screens/Battle/BattleCatchScreen.vb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/P3D/Screens/Battle/BattleCatchScreen.vb b/P3D/Screens/Battle/BattleCatchScreen.vb index 7e3c79749..834c2d4ab 100644 --- a/P3D/Screens/Battle/BattleCatchScreen.vb +++ b/P3D/Screens/Battle/BattleCatchScreen.vb @@ -166,7 +166,7 @@ nextIndex: Dim CatchAnimation = New BattleSystem.AnimationQueryObject(Nothing, False, Nothing) CatchAnimation.AnimationPlaySound("Battle\Pokeball\Throw", 0, 0) - Dim BallPosition As Vector3 = New Vector3(BattleScreen.OppPokemonNPC.Position.X - 3, BattleScreen.OppPokemonNPC.Position.Y + 0.15F, BattleScreen.OppPokemonNPC.Position.Z) + Dim BallPosition As Vector3 = New Vector3(BattleScreen.OppPokemonNPC.Position.X - 3, 0.15F, BattleScreen.OppPokemonNPC.Position.Z) Dim BallEntity As Entity = CatchAnimation.SpawnEntity(BallPosition, Ball.Texture, New Vector3(0.3F), 1.0F, 0, 0) CatchAnimation.AnimationMove(BallEntity, False, 3, 0.1F, 0, 0.075, False, False, 0F, 0F,,,, 0.025) @@ -475,4 +475,4 @@ nextIndex: End If End Function -End Class +End Class \ No newline at end of file