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

Force place_special_forced to place special in forced mode #49778

Merged
merged 1 commit into from
Jul 10, 2021
Merged

Force place_special_forced to place special in forced mode #49778

merged 1 commit into from
Jul 10, 2021

Conversation

Night-Pryanik
Copy link
Contributor

Summary

None

Purpose of change

This should fix #49620, but I can't test it on any compiler other than VS.

Describe the solution

Replaced last argument in place_special_forced from false to true.

Describe alternatives you've considered

None.

Testing

Removed NDEBUG preprocessor definition from VS solution.
Compiled game on MSVS without these changes, tried to start Bordered scenario, crash.
Compiled game on MSVS with these changes, tried to start Bordered scenario. No crash, game successfully started.

Additional context

None.

@Night-Pryanik Night-Pryanik added the <Bugfix> This is a fix for a bug (or closes open issue) label Jul 9, 2021
@ZhilkinSerg ZhilkinSerg merged commit 009baee into CleverRaven:master Jul 10, 2021
@Night-Pryanik Night-Pryanik deleted the fix-bordered-assert branch July 10, 2021 03:54
@Night-Pryanik
Copy link
Contributor Author

I guess this would be a good thing to have in 0.F.

@ZhilkinSerg
Copy link
Contributor

I guess this would be a good thing to have in 0.F.

It did not really affect anything there - the only place where it was used was defense mode (to force place starting locations), but all currently hardcoded location can be placed w/o forcing.

@Night-Pryanik
Copy link
Contributor Author

But the "Bordered" challenge was merged from 0.F-dev to 0.F, wasn't it? Or I'm missing something?

@ZhilkinSerg
Copy link
Contributor

"0.F Backport Candidate" are for merging to 0.F-branch (which is stable release 0.F). Once several PRs are backported there, we will create a tag 0.F-1 and release this stable point release.

ZhilkinSerg added a commit to ZhilkinSerg/Cataclysm-DDA that referenced this pull request Aug 12, 2021
ZhilkinSerg added a commit that referenced this pull request Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Bordered" scenario causes game to die
2 participants