From 8cf3e50ade3a117dd9b0ee9da6ba08e4fe816873 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 25 Jan 2021 18:07:49 +0100 Subject: [PATCH] - removed bad 'pos' setup in PreDrawStackedWater This was a) supposed to set 'opos' not 'pos' and is b) redundant because here both Users point to the same sprite. Fixes #261 --- source/games/sw/src/draw.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/games/sw/src/draw.cpp b/source/games/sw/src/draw.cpp index 7c01ff31b..d5ed427f4 100644 --- a/source/games/sw/src/draw.cpp +++ b/source/games/sw/src/draw.cpp @@ -1513,7 +1513,6 @@ void PreDrawStackedWater(void) nu->Rot = u->Rot; nu->StateStart = u->StateStart; nu->StateEnd = u->StateEnd; - nu->SpriteP->pos = sp->opos; nu->Flags = u->Flags; nu->Flags2 = u->Flags2; nu->RotNum = u->RotNum;