mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-23 21:24:27 +00:00
Fix CRenderFxFader save-restore (#350)
This commit is contained in:
parent
94f3621a3f
commit
92918eace7
@ -1365,6 +1365,7 @@ public:
|
|||||||
|
|
||||||
int m_iszAmtFactor;
|
int m_iszAmtFactor;
|
||||||
};
|
};
|
||||||
|
LINK_ENTITY_TO_CLASS( render_fader, CRenderFxFader )
|
||||||
|
|
||||||
TYPEDESCRIPTION CRenderFxFader::m_SaveData[] =
|
TYPEDESCRIPTION CRenderFxFader::m_SaveData[] =
|
||||||
{
|
{
|
||||||
@ -1385,6 +1386,7 @@ IMPLEMENT_SAVERESTORE(CRenderFxFader,CBaseEntity);
|
|||||||
void CRenderFxFader :: Spawn( void )
|
void CRenderFxFader :: Spawn( void )
|
||||||
{
|
{
|
||||||
SetThink(&CRenderFxFader :: FadeThink );
|
SetThink(&CRenderFxFader :: FadeThink );
|
||||||
|
pev->classname = MAKE_STRING("render_fader");
|
||||||
}
|
}
|
||||||
|
|
||||||
void CRenderFxFader :: FadeThink( void )
|
void CRenderFxFader :: FadeThink( void )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user