-
-
Notifications
You must be signed in to change notification settings - Fork 122
Revert vanilla behavior changed by e359a87 and b0cd1e0
#1938
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
Revert vanilla behavior changed by e359a87 and b0cd1e0
#1938
Conversation
|
Nightly build for this pull request:
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build. |
|
Maybe @FS-21 knows |
|
Hunt has special handling for MCV's where it seeks for free space to deploy at. Might or might not be related. |
Yes, that's what I find strange. This Hunt mission is for the units generated by undeploy, so it will be deployed again immediately. I can't imagine why this is done at all. |
e359a87e359a87 and b0cd1e0
|
For the age of the commit maybe that code should be part for the mindcontrol fix when the structure was undeployed into vehicle. Why hunt mission? No idea of the details. |
Testing that binary looks fixed. Let me test the new tag |
Coronia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still hesitate about whether Hunt should just be removed given no one knows what it exactly does, but the rest looks fine and works well in testing
|
@chaserli You may need to take a look at this PR, considering that it touches some of your code. |
| // Move ArchiveTarget check outside Conyard check to allow generic Unsellable=no buildings to be sold | ||
| return pThis->ArchiveTarget; | ||
| const auto pTypeExt = BuildingTypeExt::ExtMap.Find(pType); | ||
| return pTypeExt->UndeploysInto_Sellable ? pThis->ArchiveTarget != nullptr : true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!pTypeExt->UndeploysInto_Sellable || pThis->ArchiveTarget != nullptr;
default value being false breaks compatibility a bit. Anyway, choice is yours.


e359a87
b0cd1e0