mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 01:21:17 +00:00
ChangeStatNum must not be virtual
Overriding this would make the engine vulnerable to badly behaving mods. Intercepting this and altering the behavior can render the entire game inoperable, especially if more internal code gets scriptified later. So even at the risk of breaking some carelsss mods this must be blocked.
This commit is contained in:
parent
09f4c7e4a9
commit
886df37d1a
1 changed files with 1 additions and 1 deletions
|
@ -449,7 +449,7 @@ class Thinker : Object native play
|
|||
|
||||
virtual native void Tick();
|
||||
virtual native void PostBeginPlay();
|
||||
virtual native void ChangeStatNum(int stat);
|
||||
virtual void ChangeStatNum(int stat);
|
||||
|
||||
static clearscope int Tics2Seconds(int tics)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue