shadowm

Untitled

Jul 21st, 2014
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. #
  2. # From Wesnoth 1.11.13 onwards, sides with no on-map leaders at the end of a
  3. # scenario are considered defeated and permanently dropped from saved games.
  4. # The syntax was changed between 1.11.14 and 1.11.15 without leaving a
  5. # compatibility path, so we need this macro to preserve compatibility.
  6. #
  7. #ifver WESNOTH_VERSION > 1.11.14
  8.  
  9. #define DO_NOT_REMOVE_FROM_CARRYOVER_ON_DEFEAT
  10. remove_from_carryover_on_defeat=no
  11. #enddef
  12.  
  13. #else
  14. #ifver WESNOTH_VERSION > 1.11.12
  15.  
  16. #define DO_NOT_REMOVE_FROM_CARRYOVER_ON_DEFEAT
  17. remove_from_carryover_on_leaders_loss=no
  18. #enddef
  19.  
  20. #else
  21.  
  22. #define DO_NOT_REMOVE_FROM_CARRYOVER_ON_DEFEAT
  23.  
  24. #endif
  25. #endif
Advertisement
Add Comment
Please, Sign In to add comment