From 0d8dceea4310fde5706b3ce1c70609d72a38efdf Mon Sep 17 00:00:00 2001 From: John Schoenick Date: Wed, 9 Sep 2015 18:35:41 -0700 Subject: Updated the SDK with the latest code from the TF and HL2 branches. --- mp/src/game/client/hl2/c_waterbullet.cpp | 2 +- mp/src/game/client/hl2/hud_credits.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mp/src/game/client/hl2') 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(); -- cgit v1.2.3