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/server/actanimating.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/server/actanimating.cpp')
| -rw-r--r-- | mp/src/game/server/actanimating.cpp | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/mp/src/game/server/actanimating.cpp b/mp/src/game/server/actanimating.cpp index 80baa004..4a756607 100644 --- a/mp/src/game/server/actanimating.cpp +++ b/mp/src/game/server/actanimating.cpp @@ -1,31 +1,31 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//
-//=============================================================================//
-#include "cbase.h"
-#include "actanimating.h"
-#include "animation.h"
-#include "activitylist.h"
-
-// memdbgon must be the last include file in a .cpp file!!!
-#include "tier0/memdbgon.h"
-
-BEGIN_DATADESC( CActAnimating )
- DEFINE_CUSTOM_FIELD( m_Activity, ActivityDataOps() ),
-END_DATADESC()
-
-
-void CActAnimating::SetActivity( Activity act )
-{
- int sequence = SelectWeightedSequence( act );
- if ( sequence != ACTIVITY_NOT_AVAILABLE )
- {
- ResetSequence( sequence );
- m_Activity = act;
- SetCycle( 0 );
- }
-}
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// +#include "cbase.h" +#include "actanimating.h" +#include "animation.h" +#include "activitylist.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include "tier0/memdbgon.h" + +BEGIN_DATADESC( CActAnimating ) + DEFINE_CUSTOM_FIELD( m_Activity, ActivityDataOps() ), +END_DATADESC() + + +void CActAnimating::SetActivity( Activity act ) +{ + int sequence = SelectWeightedSequence( act ); + if ( sequence != ACTIVITY_NOT_AVAILABLE ) + { + ResetSequence( sequence ); + m_Activity = act; + SetCycle( 0 ); + } +} + |