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/client/gametrace_client.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/client/gametrace_client.cpp')
| -rw-r--r-- | mp/src/game/client/gametrace_client.cpp | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/mp/src/game/client/gametrace_client.cpp b/mp/src/game/client/gametrace_client.cpp index ff9fb180..29d6a9b2 100644 --- a/mp/src/game/client/gametrace_client.cpp +++ b/mp/src/game/client/gametrace_client.cpp @@ -1,32 +1,32 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================//
-
-#include "cbase.h"
-#include "gametrace.h"
-
-// memdbgon must be the last include file in a .cpp file!!!
-#include "tier0/memdbgon.h"
-
-bool CGameTrace::DidHitWorld() const
-{
- return m_pEnt == ClientEntityList().GetBaseEntity( 0 );
-}
-
-
-bool CGameTrace::DidHitNonWorldEntity() const
-{
- return m_pEnt != NULL && !DidHitWorld();
-}
-
-
-int CGameTrace::GetEntityIndex() const
-{
- if ( m_pEnt )
- return m_pEnt->entindex();
- else
- return -1;
-}
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#include "cbase.h" +#include "gametrace.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include "tier0/memdbgon.h" + +bool CGameTrace::DidHitWorld() const +{ + return m_pEnt == ClientEntityList().GetBaseEntity( 0 ); +} + + +bool CGameTrace::DidHitNonWorldEntity() const +{ + return m_pEnt != NULL && !DidHitWorld(); +} + + +int CGameTrace::GetEntityIndex() const +{ + if ( m_pEnt ) + return m_pEnt->entindex(); + else + return -1; +} + |