diff options
| author | John Schoenick <[email protected]> | 2015-09-09 18:35:41 -0700 |
|---|---|---|
| committer | John Schoenick <[email protected]> | 2015-09-09 18:35:41 -0700 |
| commit | 0d8dceea4310fde5706b3ce1c70609d72a38efdf (patch) | |
| tree | c831ef32c2c801a5c5a80401736b52c7b5a528ec /mp/src/game/client/hl2 | |
| parent | Updated the SDK with the latest code from the TF and HL2 branches. (diff) | |
| download | source-sdk-2013-master.tar.xz source-sdk-2013-master.zip | |
Diffstat (limited to 'mp/src/game/client/hl2')
| -rw-r--r-- | mp/src/game/client/hl2/c_waterbullet.cpp | 2 | ||||
| -rw-r--r-- | mp/src/game/client/hl2/hud_credits.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mp/src/game/client/hl2/c_waterbullet.cpp b/mp/src/game/client/hl2/c_waterbullet.cpp index b4491ca1..c758069d 100644 --- a/mp/src/game/client/hl2/c_waterbullet.cpp +++ b/mp/src/game/client/hl2/c_waterbullet.cpp @@ -85,7 +85,7 @@ public: sParticle->m_flDieTime = 0.2f; sParticle->m_flRoll = random->RandomInt( 0, 360 ); - sParticle->m_flRollDelta = random->RandomInt( -4, 4 );; + sParticle->m_flRollDelta = random->RandomInt( -4, 4 ); unsigned char color = random->RandomInt( 200, 255 ); diff --git a/mp/src/game/client/hl2/hud_credits.cpp b/mp/src/game/client/hl2/hud_credits.cpp index 8021c49a..6ad1488b 100644 --- a/mp/src/game/client/hl2/hud_credits.cpp +++ b/mp/src/game/client/hl2/hud_credits.cpp @@ -215,8 +215,8 @@ void CHudCredits::ReadNames( KeyValues *pKeyValue ) while ( pKVNames ) { creditname_t Credits; - Q_strcpy( Credits.szCreditName, pKVNames->GetName()); - Q_strcpy( Credits.szFontName, pKeyValue->GetString( Credits.szCreditName, "Default" ) ); + V_strcpy_safe( Credits.szCreditName, pKVNames->GetName() ); + V_strcpy_safe( Credits.szFontName, pKeyValue->GetString( Credits.szCreditName, "Default" ) ); m_CreditsList.AddToTail( Credits ); pKVNames = pKVNames->GetNextKey(); |