mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2024-11-27 06:12:14 +00:00
Merge pull request #36 from AnAkIn1/fogplayerparams_fix
Fix typo and value which should be non float
This commit is contained in:
commit
6a271d4a68
2 changed files with 4 additions and 4 deletions
|
@ -77,10 +77,10 @@ struct fogplayerparams_t
|
||||||
{
|
{
|
||||||
m_hCtrl.Set( NULL );
|
m_hCtrl.Set( NULL );
|
||||||
m_flTransitionTime = -1.0f;
|
m_flTransitionTime = -1.0f;
|
||||||
m_OldColor.r = m_OldColor.g = m_OldColor.g = m_OldColor.a = 0.0f;
|
m_OldColor.r = m_OldColor.g = m_OldColor.b = m_OldColor.a = 0;
|
||||||
m_flOldStart = 0.0f;
|
m_flOldStart = 0.0f;
|
||||||
m_flOldEnd = 0.0f;
|
m_flOldEnd = 0.0f;
|
||||||
m_NewColor.r = m_NewColor.g = m_NewColor.g = m_NewColor.a = 0.0f;
|
m_NewColor.r = m_NewColor.g = m_NewColor.b = m_NewColor.a = 0;
|
||||||
m_flNewStart = 0.0f;
|
m_flNewStart = 0.0f;
|
||||||
m_flNewEnd = 0.0f;
|
m_flNewEnd = 0.0f;
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,10 +77,10 @@ struct fogplayerparams_t
|
||||||
{
|
{
|
||||||
m_hCtrl.Set( NULL );
|
m_hCtrl.Set( NULL );
|
||||||
m_flTransitionTime = -1.0f;
|
m_flTransitionTime = -1.0f;
|
||||||
m_OldColor.r = m_OldColor.g = m_OldColor.g = m_OldColor.a = 0.0f;
|
m_OldColor.r = m_OldColor.g = m_OldColor.b = m_OldColor.a = 0;
|
||||||
m_flOldStart = 0.0f;
|
m_flOldStart = 0.0f;
|
||||||
m_flOldEnd = 0.0f;
|
m_flOldEnd = 0.0f;
|
||||||
m_NewColor.r = m_NewColor.g = m_NewColor.g = m_NewColor.a = 0.0f;
|
m_NewColor.r = m_NewColor.g = m_NewColor.b = m_NewColor.a = 0;
|
||||||
m_flNewStart = 0.0f;
|
m_flNewStart = 0.0f;
|
||||||
m_flNewEnd = 0.0f;
|
m_flNewEnd = 0.0f;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue