diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /mp/src/game/shared/weapon_proficiency.cpp | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/game/shared/weapon_proficiency.cpp')
| -rw-r--r-- | mp/src/game/shared/weapon_proficiency.cpp | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/mp/src/game/shared/weapon_proficiency.cpp b/mp/src/game/shared/weapon_proficiency.cpp index 9157ed2e..c51efc30 100644 --- a/mp/src/game/shared/weapon_proficiency.cpp +++ b/mp/src/game/shared/weapon_proficiency.cpp @@ -1,29 +1,29 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================//
-
-#include "cbase.h"
-#include "weapon_proficiency.h"
-
-// memdbgon must be the last include file in a .cpp file!!!
-#include "tier0/memdbgon.h"
-
-static const char *g_ProficiencyNames[] =
-{
- "Poor",
- "Average",
- "Good",
- "Very Good",
- "Perfect"
-};
-
-const char *GetWeaponProficiencyName( WeaponProficiency_t proficiency )
-{
- COMPILE_TIME_ASSERT( ARRAYSIZE(g_ProficiencyNames) == WEAPON_PROFICIENCY_PERFECT + 1 ); // Hey, update that there table!
-
- if ( proficiency < 0 || proficiency > WEAPON_PROFICIENCY_PERFECT )
- return "<<Invalid>>";
- return g_ProficiencyNames[proficiency];
-}
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#include "cbase.h" +#include "weapon_proficiency.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include "tier0/memdbgon.h" + +static const char *g_ProficiencyNames[] = +{ + "Poor", + "Average", + "Good", + "Very Good", + "Perfect" +}; + +const char *GetWeaponProficiencyName( WeaponProficiency_t proficiency ) +{ + COMPILE_TIME_ASSERT( ARRAYSIZE(g_ProficiencyNames) == WEAPON_PROFICIENCY_PERFECT + 1 ); // Hey, update that there table! + + if ( proficiency < 0 || proficiency > WEAPON_PROFICIENCY_PERFECT ) + return "<<Invalid>>"; + return g_ProficiencyNames[proficiency]; +} |