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

Unwind TRAINER_CLASS macro #5611

Open
wants to merge 1 commit into
base: upcoming
Choose a base branch
from

Conversation

SBird1337
Copy link
Collaborator

Unwinds the TRAINER_CLASS macro in order to maintain compatability with gcc < 10

Description

The macro did not provide (a lot) of simplicity anyways. Additionally defaults the money parameter to 5 if it is not set in gTrainerClasses.

Discord contact info

Karathan

@SBird1337 SBird1337 marked this pull request as draft October 29, 2024 15:39
@mrgriffin
Copy link
Collaborator

TIL about the cond ?: expr GCC extension :o

@SBird1337 SBird1337 marked this pull request as ready for review October 29, 2024 15:42
@SBird1337
Copy link
Collaborator Author

TIL about the cond ?: expr GCC extension :o

That makes 2 of us, but it was yesterday.

We can use std C for this if we want, I used it because we already to for the ball parameter.

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.

2 participants