mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 13:00:43 +00:00
- set MP taunt texts as CVAR defaults to ensure they won't get deleted by user actions.
This commit is contained in:
parent
400169ef5e
commit
371a808d9e
1 changed files with 3 additions and 2 deletions
|
@ -907,8 +907,9 @@ void CONFIG_ReadCombatMacros()
|
||||||
for (auto s : CombatMacros)
|
for (auto s : CombatMacros)
|
||||||
{
|
{
|
||||||
sc.MustGetToken(TK_StringConst);
|
sc.MustGetToken(TK_StringConst);
|
||||||
if (strlen(*s) == 0)
|
UCVarValue val;
|
||||||
*s = sc.String;
|
val.String = sc.String;
|
||||||
|
s->SetGenericRepDefault(val, CVAR_String);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (const CRecoverableError &)
|
catch (const CRecoverableError &)
|
||||||
|
|
Loading…
Reference in a new issue