d2/align: Remove obsolete set_input_frame call.
[Ale.git] / d2 / align.h
index 296df91..b1697d8 100644 (file)
@@ -2129,9 +2129,7 @@ public:
                         * Handle the initial frame
                         */
 
-                       astate.set_input_frame(image_rw::open(n));
-
-                       const image *i = astate.get_input_frame();
+                       ale_image i = image_rw::open(n);
                        int is_default;
                        transformation result = alignment_class == 2
                                ? transformation::gpt_identity(i, scale_factor)