Skip to content

Commit

Permalink
LOW: Don't forget to undefine local macros
Browse files Browse the repository at this point in the history
Fix preprocessor warning:
warning preprocessor: Redefining macro LEAVE_BEHIND_L3 without explicit #undef at campaigns/Legend_of_Wesmere/scenarios/chapter4/13_News_from_the_Front.cfg:105
    included from campaigns/Legend_of_Wesmere/_main.cfg:18
    included from _main.cfg:38
previously defined at campaigns/Legend_of_Wesmere/scenarios/chapter3/09_Bounty_Hunters.cfg:240
    included from campaigns/Legend_of_Wesmere/_main.cfg:17
    included from _main.cfg:38
  • Loading branch information
hexagonrecursion authored and soliton- committed Jan 20, 2021
1 parent a8fa011 commit f7c5b9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Expand Up @@ -292,6 +292,7 @@ Chapter Three"
#ifdef MULTIPLAYER
{LEAVE_BEHIND_L3 landar 2}
#endif
#undef LEAVE_BEHIND_L3
{RECALL_LOYALS}

[objectives]
Expand Down
Expand Up @@ -143,6 +143,8 @@
{LEAVE_BEHIND_L3 landar 2}
#endif

#undef LEAVE_BEHIND_L3

#TODO recall or create if not recallable

{RECALL_LOYALS}
Expand Down

0 comments on commit f7c5b9c

Please sign in to comment.