Fix clipshape regression in r7466

git-svn-id: https://svn.eduke32.com/eduke32@7575 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-04-14 03:44:40 +00:00 committed by Christoph Oelckers
parent 9af816af52
commit cd499b2089

View file

@ -723,7 +723,7 @@ int32_t clipsprite_initindex(int32_t curidx, uspritetype const * const curspr, i
for (int w=startwall; w<endwall; w++)
{
auto wal=(uwalltype *)&wall[startwall];
auto wal = (uwalltype *)(wall + w);
wal->x = mulscale22(scalex, CM_WALL_X(w));
wal->y = mulscale22(scaley, CM_WALL_Y(w));