- set MP taunt texts as CVAR defaults to ensure they won't get deleted by user actions.

This commit is contained in:
Christoph Oelckers 2020-07-27 18:12:24 +02:00
parent 400169ef5e
commit 371a808d9e

View file

@ -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 &)