diff --git a/src/r_things.c b/src/r_things.c index 85452b7454a00e4a7b89bddc10831513a4be896f..430542a20b1dbcb6b17079b275bd7de3f20110ec 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -1335,7 +1335,7 @@ static void R_ProjectDropShadow(mobj_t *thing, vissprite_t *vis, fixed_t scale, // reusing x1 variable x1 += (x2-x1)/2; - shadow->shear.offset = (vis->x1-x1)/2; + shadow->shear.offset = (shadow->x1-x1)/2; if (thing->subsector->sector->numlights) {