- 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
This commit is contained in:
Christoph Oelckers 2021-01-25 18:07:49 +01:00
parent 981a2c7e5c
commit 8cf3e50ade

View file

@ -1513,7 +1513,6 @@ void PreDrawStackedWater(void)
nu->Rot = u->Rot; nu->Rot = u->Rot;
nu->StateStart = u->StateStart; nu->StateStart = u->StateStart;
nu->StateEnd = u->StateEnd; nu->StateEnd = u->StateEnd;
nu->SpriteP->pos = sp->opos;
nu->Flags = u->Flags; nu->Flags = u->Flags;
nu->Flags2 = u->Flags2; nu->Flags2 = u->Flags2;
nu->RotNum = u->RotNum; nu->RotNum = u->RotNum;