- fixes copied from Raze.

This commit is contained in:
Christoph Oelckers 2020-04-29 23:58:50 +02:00
commit d71ef66957
13 changed files with 17 additions and 17 deletions

View file

@ -198,7 +198,7 @@ struct ExpVal
const FString GetString() const
{
return Type == TypeString ? *(FString *)&pointer : Type == TypeName ? FString(FName(ENamedName(Int)).GetChars()) : "";
return Type == TypeString ? *(FString *)&pointer : Type == TypeName ? FString(FName(ENamedName(Int)).GetChars()) : FString();
}
bool GetBool() const

View file

@ -62,7 +62,7 @@ static void DictInsert(Dictionary *dict, const FString &key, const FString &valu
static void DictAt(const Dictionary *dict, const FString &key, FString *result)
{
const FString *value = dict->Map.CheckKey(key);
*result = value ? *value : "";
*result = value ? *value : FString();
}
static void DictToString(const Dictionary *dict, FString *result)