Skip to content
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

Weird behavior with buttonsets #12

Closed
KYSXD opened this issue Sep 21, 2015 · 2 comments
Closed

Weird behavior with buttonsets #12

KYSXD opened this issue Sep 21, 2015 · 2 comments

Comments

@KYSXD
Copy link

KYSXD commented Sep 21, 2015

In the last version (update 3) there is a bug:

Can't use the sub - button sets (like the SCV's basic buildings), because after a few seconds the game changes the displayed buttons to the first ones (the basic ones).

Edit:
It seems that the bug is caused by the buttonset hook. No problem when commenting them on initialize.cpp

@KYSXD KYSXD changed the title Weird behaviour with buttonsets Weird behavior with buttonsets Sep 21, 2015
@BoomerangAide
Copy link
Owner

Argh, it's coming from that recently enabled "updateCurrentButtonset" function.
Maybe I should have really dropped it.
I will look into it later, but a temporary way to fix the issue by disabling that function is to comment out "jmpPatch(updateCurrentButtonsetWrapper, Func_UpdateCurrentButtonset, 6);" in buttonsets_inject.cpp

@BoomerangAide
Copy link
Owner

Ok, I had the *IS_IN_REPLAY condition understood backward.
Should be fixed now.
Thanks for reporting the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants