Fixed the word "ZONE" not appearing in the title

This commit is contained in:
ZTsukei 2017-09-01 18:57:53 -04:00
parent a1f2f5b675
commit ee7ea5f6cb
2 changed files with 9 additions and 9 deletions

View file

@ -143,16 +143,16 @@ extern FILE *logstream;
#define DEVELOP // Disable this for release builds to remove excessive cheat commands and enable MD5 checking and stuff, all in one go. :3 #define DEVELOP // Disable this for release builds to remove excessive cheat commands and enable MD5 checking and stuff, all in one go. :3
#ifdef DEVELOP #ifdef DEVELOP
#define VERSION 104 // Game version #define VERSION 104 // Game version
#define SUBVERSION 0 // more precise version number #define SUBVERSION 1 // more precise version number
#define VERSIONSTRING "Development EXE" #define VERSIONSTRING "Development EXE"
#define VERSIONSTRINGW "v1.4.0" #define VERSIONSTRINGW "v1.4.1"
// most interface strings are ignored in development mode. // most interface strings are ignored in development mode.
// we use comprevision and compbranch instead. // we use comprevision and compbranch instead.
#else #else
#define VERSION 104 // Game version #define VERSION 104 // Game version
#define SUBVERSION 0 // more precise version number #define SUBVERSION 1 // more precise version number
#define VERSIONSTRING "DevEXE v1.4.0" #define VERSIONSTRING "DevEXE v1.4.1"
#define VERSIONSTRINGW L"v1.4.0" #define VERSIONSTRINGW L"v1.4.1"
// Hey! If you change this, add 1 to the MODVERSION below! // Hey! If you change this, add 1 to the MODVERSION below!
// Otherwise we can't force updates! // Otherwise we can't force updates!
#endif #endif

View file

@ -770,8 +770,8 @@ static void ST_drawLevelTitle(void)
lvlttlxpos = ((BASEVIDWIDTH/2) - (V_LevelNameWidth(lvlttl)/2)); lvlttlxpos = ((BASEVIDWIDTH/2) - (V_LevelNameWidth(lvlttl)/2));
ttlnumxpos = lvlttlxpos + V_LevelNameWidth(lvlttl); ttlnumxpos = lvlttlxpos + V_LevelNameWidth(lvlttl);
if (zonttl) if (strlen(zonttl) > 0)
zonexpos = ttlnumxpos - V_LevelNameWidth(M_GetText(zonttl)); // SRB2kart zonexpos = ttlnumxpos - V_LevelNameWidth(zonttl); // SRB2kart
else else
zonexpos = ttlnumxpos - V_LevelNameWidth(M_GetText("ZONE")); zonexpos = ttlnumxpos - V_LevelNameWidth(M_GetText("ZONE"));
@ -802,8 +802,8 @@ static void ST_drawLevelTitle(void)
V_DrawLevelTitle(lvlttlxpos, lvlttly, 0, lvlttl); V_DrawLevelTitle(lvlttlxpos, lvlttly, 0, lvlttl);
if (zonttl) if (strlen(zonttl) > 0)
V_DrawLevelTitle(zonexpos, zoney, 0, M_GetText(zonttl)); V_DrawLevelTitle(zonexpos, zoney, 0, zonttl);
else if (!(mapheaderinfo[gamemap-1]->levelflags & LF_NOZONE)) else if (!(mapheaderinfo[gamemap-1]->levelflags & LF_NOZONE))
V_DrawLevelTitle(zonexpos, zoney, 0, M_GetText("ZONE")); V_DrawLevelTitle(zonexpos, zoney, 0, M_GetText("ZONE"));