mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +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)
|
||||
{
|
||||
sc.MustGetToken(TK_StringConst);
|
||||
if (strlen(*s) == 0)
|
||||
*s = sc.String;
|
||||
UCVarValue val;
|
||||
val.String = sc.String;
|
||||
s->SetGenericRepDefault(val, CVAR_String);
|
||||
}
|
||||
}
|
||||
catch (const CRecoverableError &)
|
||||
|
|
Loading…
Reference in a new issue