aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/server/intermission.cpp
diff options
context:
space:
mode:
authorNarendra Umate <[email protected]>2013-12-02 23:36:05 -0800
committerNarendra Umate <[email protected]>2013-12-02 23:36:05 -0800
commit8737f191f3b59f001a77bf6c08091109211c1c9f (patch)
treedbbf05c004d9b026f2c1f23f06600fe0add82c36 /mp/src/game/server/intermission.cpp
parentUpdate .gitignore. (diff)
parentMake .xcconfigs text files too. (diff)
downloadsource-sdk-2013-8737f191f3b59f001a77bf6c08091109211c1c9f.tar.xz
source-sdk-2013-8737f191f3b59f001a77bf6c08091109211c1c9f.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mp/src/game/server/intermission.cpp')
-rw-r--r--mp/src/game/server/intermission.cpp104
1 files changed, 52 insertions, 52 deletions
diff --git a/mp/src/game/server/intermission.cpp b/mp/src/game/server/intermission.cpp
index 6a585518..76cc801d 100644
--- a/mp/src/game/server/intermission.cpp
+++ b/mp/src/game/server/intermission.cpp
@@ -1,52 +1,52 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $Workfile: $
-// $Date: $
-// $NoKeywords: $
-//=============================================================================//
-#include "cbase.h"
-#include "entitylist.h"
-
-// memdbgon must be the last include file in a .cpp file!!!
-#include "tier0/memdbgon.h"
-
-//=========================================================
-// Multiplayer intermission spots.
-//=========================================================
-class CInfoIntermission:public CPointEntity
-{
-public:
- DECLARE_CLASS( CInfoIntermission, CPointEntity );
-
- void Spawn( void );
- void Think( void );
-};
-
-void CInfoIntermission::Spawn( void )
-{
- SetSolid( SOLID_NONE );
- AddEffects( EF_NODRAW );
- SetLocalAngles( vec3_angle );
- SetNextThink( gpGlobals->curtime + 2 );// let targets spawn !
-}
-
-void CInfoIntermission::Think ( void )
-{
- CBaseEntity *pTarget;
-
- // find my target
- pTarget = gEntList.FindEntityByName( NULL, m_target );
-
- if ( pTarget )
- {
- Vector dir = pTarget->GetLocalOrigin() - GetLocalOrigin();
- VectorNormalize( dir );
- QAngle angles;
- VectorAngles( dir, angles );
- SetLocalAngles( angles );
- }
-}
-
-LINK_ENTITY_TO_CLASS( info_intermission, CInfoIntermission );
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $Workfile: $
+// $Date: $
+// $NoKeywords: $
+//=============================================================================//
+#include "cbase.h"
+#include "entitylist.h"
+
+// memdbgon must be the last include file in a .cpp file!!!
+#include "tier0/memdbgon.h"
+
+//=========================================================
+// Multiplayer intermission spots.
+//=========================================================
+class CInfoIntermission:public CPointEntity
+{
+public:
+ DECLARE_CLASS( CInfoIntermission, CPointEntity );
+
+ void Spawn( void );
+ void Think( void );
+};
+
+void CInfoIntermission::Spawn( void )
+{
+ SetSolid( SOLID_NONE );
+ AddEffects( EF_NODRAW );
+ SetLocalAngles( vec3_angle );
+ SetNextThink( gpGlobals->curtime + 2 );// let targets spawn !
+}
+
+void CInfoIntermission::Think ( void )
+{
+ CBaseEntity *pTarget;
+
+ // find my target
+ pTarget = gEntList.FindEntityByName( NULL, m_target );
+
+ if ( pTarget )
+ {
+ Vector dir = pTarget->GetLocalOrigin() - GetLocalOrigin();
+ VectorNormalize( dir );
+ QAngle angles;
+ VectorAngles( dir, angles );
+ SetLocalAngles( angles );
+ }
+}
+
+LINK_ENTITY_TO_CLASS( info_intermission, CInfoIntermission );