diff options
| author | AnAkIn1 <[email protected]> | 2013-06-28 18:37:35 +0200 |
|---|---|---|
| committer | AnAkIn1 <[email protected]> | 2013-06-29 01:37:00 +0200 |
| commit | 3a066ecf312210316f0f61938c03fc761f32095a (patch) | |
| tree | 6dd3f3ded495bfc1a4ff0661f33d94324298e204 /mp/src | |
| parent | Add executable bit to gendbg.sh. (diff) | |
| download | source-sdk-2013-3a066ecf312210316f0f61938c03fc761f32095a.tar.xz source-sdk-2013-3a066ecf312210316f0f61938c03fc761f32095a.zip | |
Fix typo and value which should be non float
Diffstat (limited to 'mp/src')
| -rw-r--r-- | mp/src/game/shared/playernet_vars.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mp/src/game/shared/playernet_vars.h b/mp/src/game/shared/playernet_vars.h index 9fdeec0f..abb49765 100644 --- a/mp/src/game/shared/playernet_vars.h +++ b/mp/src/game/shared/playernet_vars.h @@ -77,10 +77,10 @@ struct fogplayerparams_t {
m_hCtrl.Set( NULL );
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_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_flNewEnd = 0.0f;
}
|