mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 12:14:54 +01:00
Call the true function before initializing hook.
This commit is contained in:
parent
3c265596a9
commit
4f7e42a905
2 changed files with 6 additions and 9 deletions
|
|
@ -7,17 +7,11 @@
|
|||
|
||||
#include <set>
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
class Hook_Manager
|
||||
{
|
||||
friend class Base_Hook;
|
||||
|
||||
protected:
|
||||
// TODO: If needed, create a second vector with only the renderers hook
|
||||
// Cause actually, a call to FoundRenderer will unhook everything registered except the renderer hook
|
||||
// If you do that, you should consider moving the renderer hooks to its own class and keep this one generic ?
|
||||
std::set<Base_Hook*> _hooks;
|
||||
|
||||
Hook_Manager();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue