From 6c5163af9ed458cbc5d69ec2d24aea89960b4ef7 Mon Sep 17 00:00:00 2001 From: shevernitskiy Date: Sun, 27 Aug 2023 22:28:03 +0300 Subject: [PATCH] adjust adopt region reset step --- library/modules/Textures.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/modules/Textures.cpp b/library/modules/Textures.cpp index 31575dca0..48bc71e3c 100644 --- a/library/modules/Textures.cpp +++ b/library/modules/Textures.cpp @@ -178,7 +178,7 @@ struct tracking_stage_adopt_region : df::viewscreen_adopt_regionst { DEFINE_VMETHOD_INTERPOSE(void, logic, ()) { if (this->m_cur_step != this->cur_step) { this->m_cur_step = this->cur_step; - if (this->m_cur_step == 2) + if (this->m_cur_step == 1) reset_texpos(); } INTERPOSE_NEXT(logic)();