- added a compiler-side workaround for the formerly static methods of FLevelLocals.
LevelLocals on the left side of.a function call will now always be remapped to 'Level', which will either remap to the same-named instance variable or the global deprecated one. In a few degenerate cases where there is a conflicting local variable named 'level' it may error out but that is unavoidable here but this is very unlikely.
This commit is contained in:
parent
60873bc5d6
commit
f9239f6e0f
8 changed files with 132 additions and 117 deletions
|
|
@ -654,11 +654,3 @@ ADD_STAT (bots)
|
|||
BotWTG);
|
||||
return out;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(FLevelLocals, RemoveAllBots)
|
||||
{
|
||||
PARAM_PROLOGUE;
|
||||
PARAM_BOOL(fromlist);
|
||||
bglobal.RemoveAllBots(fromlist);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue