-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
broken selection via mouse rect. #50
Comments
I dont understand how that would break that. surely |
Yeah, established through bisect. You can revert it and see for yourself. Like I said in the comment, my guess is that now nothing is turning off SF_DISABLEMOUSE... But that doesn't really seem to be the case - the code looks ok and the cursor is still visible and enabled. |
ok, so something else somewhere might be setting the question is, should to me, it doesn't seem like changing map during a cutscene is valid behavior, but I may be wrong (do any cutscenes span multiple areas?) |
Why would the cursor be grayed without SF_DISABLEMOUSE being set? Cutscenes regularly change maps and the function is of course needed. ChangeMap is probably called while starting/loading a game too. |
IIRC if the |
ChangeMap is usually (if not always) over before you could see that. |
ok, I dont know if it will resolve the issue, but if this is called via cutscene and it was previously clearing that flag, then we should call |
No, this is a dead end. In master it's not playing with any of this. |
now it makes even less sense :) I now have to suspect |
it does, yes. Commenting that out is enough to get the rect back. :) |
still, that shouldn't have that result... seems to indicate some other problem somewhere. Probably one thing we should do is have GC disabled at construction time and only become enabled once a map is loaded. |
…ally are changing map should close issue #50
problem is simply that this is apparently called from the game loop every iteration too :( |
just so it's not forgotten: 5a04992 is to blame.
The text was updated successfully, but these errors were encountered: