make thundershield follow player offset

this allows the to stay on the player when saltyhopping etc.
This commit is contained in:
Alug committed 2024-01-18 15:34:19 +01:00
1 parent 7a0adbc30b
commit 9a8d6efcd7
1 file changed
+2
+2
View File
@@ -8308,6 +8308,8 @@ void P_MobjThinker(mobj_t *mobj)
}
P_MoveOrigin(mobj, destx, desty, mobj->target->z);
mobj->spriteyoffset = mobj->target->spriteyoffset;
mobj->spritexoffset = mobj->target->spritexoffset;
break;
}
case MT_ROCKETSNEAKER: