mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-18 15:32:10 +00:00
Fixed the word "ZONE" not appearing in the title
This commit is contained in:
parent
a1f2f5b675
commit
ee7ea5f6cb
2 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
#ifdef DEVELOP
|
||||
#define VERSION 104 // Game version
|
||||
#define SUBVERSION 0 // more precise version number
|
||||
#define SUBVERSION 1 // more precise version number
|
||||
#define VERSIONSTRING "Development EXE"
|
||||
#define VERSIONSTRINGW "v1.4.0"
|
||||
#define VERSIONSTRINGW "v1.4.1"
|
||||
// most interface strings are ignored in development mode.
|
||||
// we use comprevision and compbranch instead.
|
||||
#else
|
||||
#define VERSION 104 // Game version
|
||||
#define SUBVERSION 0 // more precise version number
|
||||
#define VERSIONSTRING "DevEXE v1.4.0"
|
||||
#define VERSIONSTRINGW L"v1.4.0"
|
||||
#define SUBVERSION 1 // more precise version number
|
||||
#define VERSIONSTRING "DevEXE v1.4.1"
|
||||
#define VERSIONSTRINGW L"v1.4.1"
|
||||
// Hey! If you change this, add 1 to the MODVERSION below!
|
||||
// Otherwise we can't force updates!
|
||||
#endif
|
||||
|
|
|
@ -770,8 +770,8 @@ static void ST_drawLevelTitle(void)
|
|||
lvlttlxpos = ((BASEVIDWIDTH/2) - (V_LevelNameWidth(lvlttl)/2));
|
||||
|
||||
ttlnumxpos = lvlttlxpos + V_LevelNameWidth(lvlttl);
|
||||
if (zonttl)
|
||||
zonexpos = ttlnumxpos - V_LevelNameWidth(M_GetText(zonttl)); // SRB2kart
|
||||
if (strlen(zonttl) > 0)
|
||||
zonexpos = ttlnumxpos - V_LevelNameWidth(zonttl); // SRB2kart
|
||||
else
|
||||
zonexpos = ttlnumxpos - V_LevelNameWidth(M_GetText("ZONE"));
|
||||
|
||||
|
@ -802,8 +802,8 @@ static void ST_drawLevelTitle(void)
|
|||
|
||||
V_DrawLevelTitle(lvlttlxpos, lvlttly, 0, lvlttl);
|
||||
|
||||
if (zonttl)
|
||||
V_DrawLevelTitle(zonexpos, zoney, 0, M_GetText(zonttl));
|
||||
if (strlen(zonttl) > 0)
|
||||
V_DrawLevelTitle(zonexpos, zoney, 0, zonttl);
|
||||
else if (!(mapheaderinfo[gamemap-1]->levelflags & LF_NOZONE))
|
||||
V_DrawLevelTitle(zonexpos, zoney, 0, M_GetText("ZONE"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue