diff options
author | aap <aap@papnet.eu> | 2020-04-08 16:36:53 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-08 18:45:55 +0200 |
commit | 9176aef1b251fe08d536f69e383334015c94e146 (patch) | |
tree | 27f3979748ae701790a87ce701a87a75c6d9f9a7 /src/render/Skidmarks.h | |
parent | implemented CSkidmarks (diff) | |
parent | fix bug (diff) | |
download | re3-9176aef1b251fe08d536f69e383334015c94e146.tar re3-9176aef1b251fe08d536f69e383334015c94e146.tar.gz re3-9176aef1b251fe08d536f69e383334015c94e146.tar.bz2 re3-9176aef1b251fe08d536f69e383334015c94e146.tar.lz re3-9176aef1b251fe08d536f69e383334015c94e146.tar.xz re3-9176aef1b251fe08d536f69e383334015c94e146.tar.zst re3-9176aef1b251fe08d536f69e383334015c94e146.zip |
Diffstat (limited to 'src/render/Skidmarks.h')
-rw-r--r-- | src/render/Skidmarks.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/Skidmarks.h b/src/render/Skidmarks.h index 5387d8f4..085b4c6d 100644 --- a/src/render/Skidmarks.h +++ b/src/render/Skidmarks.h @@ -1,5 +1,7 @@ #pragma once +enum { SKIDMARK_LENGTH = 16 }; + class CSkidmark { public: @@ -12,8 +14,8 @@ public: uint32 m_lastUpdate;; uint32 m_fadeStart; uint32 m_fadeEnd; - CVector m_pos[16]; - CVector m_side[16]; + CVector m_pos[SKIDMARK_LENGTH]; + CVector m_side[SKIDMARK_LENGTH]; }; class CSkidmarks |