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

None #562

Merged
merged 2 commits into from
Nov 12, 2023
Merged

None #562

merged 2 commits into from
Nov 12, 2023

Conversation

Jarod42
Copy link
Member

@Jarod42 Jarod42 commented Nov 12, 2023

No description provided.

@Jarod42 Jarod42 merged commit 74a3e1d into master Nov 12, 2023
2 checks passed
@Jarod42 Jarod42 deleted the none branch November 12, 2023 14:24
} else if (parsingValue == "img-base") {
isImg = SrcImageOption::cBaseGraphics;
isImg = ESrcImageOption::BaseGraphics;
} else {
Copy link
Member

Choose a reason for hiding this comment

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

Hi.
This else shouldn't be here.
Here we just check if first string (and if it is a string) is "img" or "img-base" to select image source, if not - it's not an error, because there is another options and they will be parsed in the CTilesetParser::parseTilesRange().

Now we have spammed output with stratagus/src/map/script_tileset.cpp:786: parseSrcRange: Unknown tag 'slot' msg - and "slot" here is an acceptable value. *It spammed in the "highground" branch of wargus

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, just created #566 to revert that.

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