UtBS: Re-added compatibility code to load old saves using the new elves

This commit is contained in:
ln-zookeeper 2018-04-16 10:47:48 +03:00
parent 6f47abd47f
commit a565e9259f

View file

@ -148,6 +148,51 @@
[/about]
[/campaign]
# Compatibility code for saves using the new elves from 1.13.13 or earlier
#textdomain wesnoth
[+language]
EASY_NEW= _ "Easy"
NORMAL_NEW= _ "Medium"
HARD_NEW= _ "Hard"
[/language]
#textdomain wesnoth-utbs
#ifdef CAMPAIGN_UNDER_THE_BURNING_SUNS
#ifdef EASY_NEW
#define EASY
#enddef
#define UTBSNEW
#enddef
#endif
#ifdef NORMAL_NEW
#define NORMAL
#enddef
#define UTBSNEW
#enddef
#endif
#ifdef HARD_NEW
#define HARD
#enddef
#define UTBSNEW
#enddef
#endif
#ifdef UTBSNEW
# Need to re-load this for ON_DIFFICULTY to not break due to a missing
# EASY/NORMAL/HARD symbol
{core/macros/utils.cfg}
#endif
#endif
#ifdef CAMPAIGN_UNDER_THE_BURNING_SUNS
[binary_path]