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

[RA] Formations not available in Skirmish mode #1023

Open
Gerwin2k opened this issue Aug 8, 2024 · 0 comments
Open

[RA] Formations not available in Skirmish mode #1023

Gerwin2k opened this issue Aug 8, 2024 · 0 comments

Comments

@Gerwin2k
Copy link

Gerwin2k commented Aug 8, 2024

Formations work in normal single player mode.
Make a team, hit the F key. Team number and 'F' are written in the unit selection outlines.
In skirmish mode the F key does nothing. May be the same for Multiplayer, but I did not test this.

Possible fix, or at least a workaround, can be made in conquer.cpp. By replacing obj->IsSelected with obj->Is_Selected_By_Player()) three times = all occurences. I don't know why this works, but ended up with this solution with some trouble-shooting and by looking at the similar team formation code.

void Toggle_Formation(void)
...
if (obj && !obj->IsInLimbo && obj->House == PlayerPtr && obj->Is_Selected_By_Player()) { // GB 2024, replaced  obj->IsSelected
...
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

No branches or pull requests

1 participant