mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 07:05:38 +03:00
Call OnCreate after full creation
This commit is contained in:
parent
84f1f5e4c6
commit
2d44adae43
@ -585,9 +585,9 @@ T *GetClassPtr(T *a)
|
|||||||
a->pev = pev;
|
a->pev = pev;
|
||||||
|
|
||||||
#ifdef REGAMEDLL_API
|
#ifdef REGAMEDLL_API
|
||||||
a->OnCreate();
|
|
||||||
a->m_pEntity = new W();
|
a->m_pEntity = new W();
|
||||||
a->m_pEntity->m_pContainingEntity = a;
|
a->m_pEntity->m_pContainingEntity = a;
|
||||||
|
a->OnCreate();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user