mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +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
3acd9c8116
commit
ba2b9430f8
1 changed files with 1 additions and 1 deletions
|
@ -452,7 +452,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