Speed up weapon draw

This commit is contained in:
Vladislav Khorev committed 2026-11-17 19:12:53 +06:00
1 parent 53328484b8
commit 4e40a1825a
3 files changed
+88 -2

No files matched your search

+3
View File
@@ -107,6 +107,9 @@ public:
float animationFrame = 0.0f;
std::array<int, 9> animationStartFrames = {{0, 0, 0, 0, 0, 0, 0, 0, 0}};
std::array<int, 9> animationFrameCounts = {{1, 1, 1, 1, 1, 1, 1, 1, 1}};
std::array<float, 9> animationPlaybackRates = {{
1.0f, 1.0f, 1.0f, 1.0f, 1.0f,
1.0f, 1.0f, 1.0f, 1.0f}};
// --- Movement / visual parameters ---
fp walkSpeed = static_cast<fp>(3.0f);