Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

0009178: Fix bindKey & unbindKey on commands (2) #214

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

Merged
ccw808 merged 5 commits into multitheftauto:master from emre1702:Fix_unbindKey_#9178_2
Jul 5, 2018

Conversation

@emre1702
Copy link
Contributor

@emre1702 emre1702 commented Jul 1, 2018

Bugtracker:
https://bugs.mtasa.com/view.php?id=9178

Sorry for the last PR and the bug it produced, didn't know about being able to change the key of a bind by yourself.

This PR should fix all the bugs - and the changes are much better than the last time (cause now I can understand why SetAllCommandsActive was used).

bool checkHitState, bool bConsiderDefaultKey = false);
void SetAllCommandsActive(const char* szResource, bool bActive, const char* szCommand = NULL, bool bState = true, const char* szArguments = NULL,
bool checkHitState = false);
bool checkHitState = false, constchar* szOnlyWithDefaultKey = NULL);
Copy link
Contributor

@qaisjp qaisjp Jul 1, 2018
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should NULL here (and elsewhere) be nullptr?

Copy link
Member

ccw808 commented Jul 5, 2018

I think qaisjp meant only use nullptr for the lines you have modified

qaisjp reacted with thumbs up emoji

Copy link
Contributor Author

emre1702 commented Jul 5, 2018

Done

@ccw808 ccw808 merged commit bbd05a5 into multitheftauto:master Jul 5, 2018
@patrikjuvonen patrikjuvonen added the bug Something isn't working label Aug 7, 2018
@patrikjuvonen patrikjuvonen added this to the 1.5.6 milestone Aug 7, 2018
@patrikjuvonen patrikjuvonen changed the title (削除) #9178 - Fix bindKey & unbindKey on commands (2) (削除ここまで) (追記) 0009178: Fix bindKey & unbindKey on commands (2) (追記ここまで) Sep 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@qaisjp qaisjp qaisjp left review comments

Reviewers whose approvals may not affect merge requirements

Labels

bug Something isn't working

Projects

None yet

Milestone

1.5.6

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /