mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 13:50:48 +00:00
Don't change static variable when updating callback for single CVars
This commit is contained in:
parent
7349c95623
commit
8dbe0ae353
1 changed files with 0 additions and 2 deletions
|
@ -215,13 +215,11 @@ FBaseCVar::~FBaseCVar ()
|
|||
void FBaseCVar::SetCallback(void (*callback)(FBaseCVar&))
|
||||
{
|
||||
m_Callback = callback;
|
||||
m_UseCallback = true;
|
||||
}
|
||||
|
||||
void FBaseCVar::ClearCallback()
|
||||
{
|
||||
m_Callback = nullptr;
|
||||
m_UseCallback = false;
|
||||
}
|
||||
|
||||
void FBaseCVar::SetExtraDataPointer(void *pointer)
|
||||
|
|
Loading…
Reference in a new issue