if (c->position == POS_CE)
{
- // may contain negative tile offset that is treated as "off-screen"
- part2->x = 0;
- part2->y = 0;
-
// store CE tile and offset position to handle scrolling
part2->tile_x = x;
part2->tile_y = y;
part2->tile_xoffset = c->x;
part2->tile_yoffset = c->y;
+ // set resulting animation position relative to CE tile position
+ SetGlobalAnimPartTileXY(part2);
+
// restart animation (by using current sync frame)
part2->initial_anim_sync_frame = anim_sync_frame;
}