Skip to content

Clean up control_set_gold_curs & CheckChrBtns #538

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
merged 2 commits into from
Jan 1, 2019
Merged

Clean up control_set_gold_curs & CheckChrBtns #538

merged 2 commits into from
Jan 1, 2019

Conversation

AJenbo
Copy link
Member

@AJenbo AJenbo commented Dec 31, 2018

No description provided.

Copy link
Contributor

@mewmew mewmew left a comment

Choose a reason for hiding this comment

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

LGTM, with minor comment.

v3 = &plr[v1].HoldItem._iCurs;
plr[v1].HoldItem._iCurs = ICURS_GOLD_LARGE;
if (plr[pnum].HoldItem._ivalue <= 1000)
plr[pnum].HoldItem._iCurs = 4;
Copy link
Contributor

Choose a reason for hiding this comment

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

These have enums I think. Essentially gold_small, gold_middle and gold_large.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@AJenbo AJenbo mentioned this pull request Jan 1, 2019
@AJenbo AJenbo merged commit 84f976b into diasurgical:nightly Jan 1, 2019
@AJenbo AJenbo deleted the control.cpp branch January 1, 2019 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants