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

fix: commendation vendor cant accept missions #1497

Merged
merged 2 commits into from
Mar 7, 2024
Merged

fix: commendation vendor cant accept missions #1497

merged 2 commits into from
Mar 7, 2024

Conversation

EmosewaMC
Copy link
Collaborator

We never set the HasStandardCost flag in the AchievementVendor.

"Why are you calling RefreshVendor again in the most derived class constructor? Wont the one in VendorComponent call it?"
No because at that point in time, the vftable for the AchievementVendor has not been assigned yet and as such a call to the virtual function is impossible. We do need the function to be virtual to prevent the regular refresh from going through as the work is unnecessary for this entity

Tested that you can complete missions from the AchievementVendor and still buy still.

Copy link
Member

@aronwk-aaron aronwk-aaron left a comment

Choose a reason for hiding this comment

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

Ty

@jadebenn jadebenn merged commit fe4b29f into main Mar 7, 2024
4 checks passed
@jadebenn jadebenn deleted the comm branch March 7, 2024 01:50
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

Successfully merging this pull request may close these issues.

None yet

3 participants