From 880e6cba78d43e7ad319da7d522a83d96e421428 Mon Sep 17 00:00:00 2001 From: Twanvanb1 <78142253+Twanvanb1@users.noreply.github.com> Date: Tue, 1 Oct 2024 19:38:51 +0200 Subject: [PATCH] Fix `R7/SolidBlock.txt` object def --- Scripts/R7/SolidBlock.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Scripts/R7/SolidBlock.txt b/Scripts/R7/SolidBlock.txt index f14e2b2..59e7e06 100644 --- a/Scripts/R7/SolidBlock.txt +++ b/Scripts/R7/SolidBlock.txt @@ -351,14 +351,14 @@ sub RSDKDraw // This subtype acts as an invis block so normally it's invisible - but it has to show in the editor somehow! Object.InkEffect = INK_BLEND - DrawSpriteScreenFX(0, FX_INK, Object.XPos, Object.YPos) + DrawSpriteFX(0, FX_INK, Object.XPos, Object.YPos) // The sprite is faint so draw the hitbox of the box - TempValue0 = Object.iXPos - TempValue0 -= 16 - TempValue1 = Object.iYPos - TempValue1 -= 16 + TempValue0 = Object.XPos + TempValue0 -= 0x100000 + TempValue1 = Object.YPos + TempValue1 -= 0x100000 DrawRectOutline(TempValue0, TempValue1, 32, 32, 255, 255, 255, 255) break end switch