Skip to content

[VanillaRA] How to enable Aftermath units in Skirmish mode? #923

Answered by Gerwin2k
Gerwin2k asked this question in Q&A
Discussion options

You must be logged in to vote

My testing shows that this bit of code prevents NewUnitsEnabled to remain at 1.
scenario.cpp, line 2636:

#ifdef FIXIT_CSII //	checked - ajw 9/28/98 - Added runtime check.
    if (Is_Aftermath_Installed()) {
        if (Session.Type == GAME_SKIRMISH || Session.Type == GAME_GLYPHX_MULTIPLAYER) {
            bAftermathMultiplayer = NewUnitsEnabled = OverrideNewUnitsEnabled;
        }
    }
#endif

In globals.cpp there is this:
OverrideNewUnitsEnabled = false; // ST - 12/13/2019 12:21PM
and it seems only the remaster dllinterface.cpp has the code to make it become "true". While the non-remaster build has no such means. Non-remaster builds should not use "OverrideNewUnitsEnabled" there, in sce…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Gerwin2k
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant