mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-14 16:40:46 +00:00
- fixed compilation error
source\core\razefont.cpp(60,3): error C2181: illegal else without matching if
This commit is contained in:
parent
07d87940f2
commit
41d7118099
1 changed files with 3 additions and 6 deletions
|
@ -54,12 +54,9 @@ CUSTOM_CVAR(Int, duke_menufont, -1, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOIN
|
||||||
{
|
{
|
||||||
if (!(g_gameType & GAMEFLAG_DUKE) || !BigFont13 || !BigFont15) return;
|
if (!(g_gameType & GAMEFLAG_DUKE) || !BigFont13 || !BigFont15) return;
|
||||||
if (self < -1 || self > 1) self = -1;
|
if (self < -1 || self > 1) self = -1;
|
||||||
else
|
// Font info must be copied so that BigFont does not change its address.
|
||||||
{
|
else if (self == 0 || (self == -1 && isPlutoPak())) OriginalBigFont->CopyFrom(*BigFont15);
|
||||||
// Font info must be copied so that BigFont does not change its address.
|
else if (self == 1 || (self == -1 && !isPlutoPak())) OriginalBigFont->CopyFrom(*BigFont13);
|
||||||
else if (self == 0 || (self == -1 && isPlutoPak())) OriginalBigFont->CopyFrom(*BigFont15);
|
|
||||||
else if (self == 1 || (self == -1 && !isPlutoPak())) OriginalBigFont->CopyFrom(*BigFont13);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
Loading…
Reference in a new issue