- removed the FxDamageValue hack and implemented it properly using FxReturnStatement.
- added handling of damage functions for ZScript.
This commit is contained in:
parent
e50315bd31
commit
7c759f9fcf
8 changed files with 37 additions and 36 deletions
|
|
@ -684,10 +684,6 @@ void FFunctionBuildList::Build()
|
|||
|
||||
for (auto &item : mItems)
|
||||
{
|
||||
if (item.PrintableName.CompareNoCase("Middle.StateFunction.3") == 0)
|
||||
{
|
||||
int a = 0;
|
||||
}
|
||||
assert(item.Code != NULL);
|
||||
|
||||
// We don't know the return type in advance for anonymous functions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue