mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- fixed compilation errors
src/scripting/decorate/thingdef_parse.cpp:80:11: error: no viable conversion from 'const FName' to 'FString' src/scripting/zscript/zcc_compile.cpp:1359:26: error: use of undeclared identifier 'Name_globalfreeze'; did you mean 'NAME_globalfreeze'? # Conflicts: # src/scripting/zscript/zcc_compile.cpp
This commit is contained in:
parent
7c3ec662e1
commit
141d5bdf3e
1 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ PClassActor *DecoDerivedClass(const FScriptPosition &sc, PClassActor *parent, FN
|
|||
if (type == nullptr)
|
||||
{
|
||||
FString newname = typeName.GetChars();
|
||||
FString sourcefile = sc.FileName;
|
||||
FString sourcefile = sc.FileName.GetChars();
|
||||
|
||||
sourcefile.Substitute(":", "@");
|
||||
newname << '@' << sourcefile;
|
||||
|
@ -1342,4 +1342,4 @@ void ParseAllDecorate()
|
|||
auto ns = Namespaces.NewNamespace(sc.LumpNum);
|
||||
ParseDecorate(sc, ns);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue