diff --git a/src/scripting/thingdef_data.cpp b/src/scripting/thingdef_data.cpp index b99d6e646..8caa07292 100644 --- a/src/scripting/thingdef_data.cpp +++ b/src/scripting/thingdef_data.cpp @@ -926,7 +926,7 @@ DEFINE_ACTION_FUNCTION(FString, Replace) PARAM_SELF_STRUCT_PROLOGUE(FString); PARAM_STRING(s1); PARAM_STRING(s2); - self->Substitute(*s1, *s2); + self->Substitute(s1, s2); return 0; }