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 /sp/src/game/server/gametrace_dll.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 'sp/src/game/server/gametrace_dll.cpp')
| -rw-r--r-- | sp/src/game/server/gametrace_dll.cpp | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/sp/src/game/server/gametrace_dll.cpp b/sp/src/game/server/gametrace_dll.cpp index d40af84a..c95c3716 100644 --- a/sp/src/game/server/gametrace_dll.cpp +++ b/sp/src/game/server/gametrace_dll.cpp @@ -1,33 +1,33 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================//
-
-#include "cbase.h"
-#include "gametrace.h"
-#include "world.h"
-
-// memdbgon must be the last include file in a .cpp file!!!
-#include "tier0/memdbgon.h"
-
-bool CGameTrace::DidHitWorld() const
-{
- return m_pEnt == GetWorldEntity();
-}
-
-
-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" +#include "world.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include "tier0/memdbgon.h" + +bool CGameTrace::DidHitWorld() const +{ + return m_pEnt == GetWorldEntity(); +} + + +bool CGameTrace::DidHitNonWorldEntity() const +{ + return m_pEnt != NULL && !DidHitWorld(); +} + + +int CGameTrace::GetEntityIndex() const +{ + if ( m_pEnt ) + return m_pEnt->entindex(); + else + return -1; +} + |