Quote Originally Posted by Saffith View Post
In 2.50.1 and before, when switching drawing targets between the screen and an offscreen bitmap, the subscreen offset wouldn't always be set properly, so drawing would sometimes incorrectly be shifted by 56 pixels. 2.50.2 fixed that without keeping it for old quests; 2.50.3 does restore it in old quests.
That's currently handled by a bit set at the end of readrules() (in 2.50.x, it's set at qst.cpp:2549 and read at script_drawing.cpp:2159). It's based entirely on the version and build; there's no quest rule or anything else saved with the quest file. Quests made in 2.50.3 will function the same in 2.50.2 in this regard.
Unfortunately, this did not make it into the 2.50.x branch, from the reports that I am getting. I think that having both a version check, and a QR is the safest way, with the version check setting the bit on quest init. This applies both to bitmap drawing, and COMBOSDM. That way, the bit is all that matters for future versions; and if we use a script header for some of these fixes, then the bit reading can be an inclusive or condition to evaluate alongside the script header. If the scritpt header is < n, check for the bit. If the bit is off, use the older of the two methods.

I do not know why the fix that was in 2.50.3 is not here, or not working. Is this another case of my files missing a commit, or is it truly missing in the repo?