diff options
| author | John Schoenick <[email protected]> | 2015-09-09 18:35:41 -0700 |
|---|---|---|
| committer | John Schoenick <[email protected]> | 2015-09-09 18:35:41 -0700 |
| commit | 0d8dceea4310fde5706b3ce1c70609d72a38efdf (patch) | |
| tree | c831ef32c2c801a5c5a80401736b52c7b5a528ec /mp/src/game/shared/SpriteTrail.h | |
| parent | Updated the SDK with the latest code from the TF and HL2 branches. (diff) | |
| download | source-sdk-2013-master.tar.xz source-sdk-2013-master.zip | |
Diffstat (limited to 'mp/src/game/shared/SpriteTrail.h')
| -rw-r--r-- | mp/src/game/shared/SpriteTrail.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mp/src/game/shared/SpriteTrail.h b/mp/src/game/shared/SpriteTrail.h index 3e4fb763..2248dc99 100644 --- a/mp/src/game/shared/SpriteTrail.h +++ b/mp/src/game/shared/SpriteTrail.h @@ -82,8 +82,8 @@ private: enum { // NOTE: # of points max must be a power of two! - MAX_SPRITE_TRAIL_POINTS = 64, - MAX_SPRITE_TRAIL_MASK = 0x3F, + MAX_SPRITE_TRAIL_POINTS = 256, + MAX_SPRITE_TRAIL_MASK = MAX_SPRITE_TRAIL_POINTS - 1, }; TrailPoint_t *GetTrailPoint( int n ); @@ -114,6 +114,11 @@ private: string_t m_iszSpriteName; bool m_bAnimate; bool m_bDrawForMoveParent; + +#if defined( CLIENT_DLL ) +public: + void SetUpdateTime(float setTo){ m_flUpdateTime = setTo; } +#endif }; #endif // SPRITETRAIL_H |