Dynamic tile remapping shouldn't actually be disabled in synthesis builds, whether the source allows it to be compi

led out or not. Removing features that certain mods may depend on to operate correctly without throwing any kind of
 error or warning at startup other than a logged message is bad.


git-svn-id: https://svn.eduke32.com/eduke32@2300 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2012-01-28 15:16:14 +00:00
parent 75538bc8e1
commit 5bc595ab89
2 changed files with 6 additions and 2 deletions

View file

@ -3543,7 +3543,11 @@ static int32_t C_ParseCommand(int32_t loop)
#ifdef DYNTILEREMAP_ENABLE
else initprintf("Using dynamic tile remapping\n");
#else
else initprintf("Would be using dynamic tile remapping\n");
else
{
initprintf("%s:%d: warning: dynamic tile remapping is disabled in this build\n",g_szScriptFileName,g_lineNumber);
g_numCompilerWarnings++;
}
#endif
continue;

View file

@ -20,7 +20,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
//-------------------------------------------------------------------------
//#define DYNTILEREMAP_ENABLE
#define DYNTILEREMAP_ENABLE
#define SECTOREFFECTOR__STATIC 1