Fix lead indicator prediction & align projectile lifetime (client/server)

This commit is contained in:
vottozi committed 2026-03-03 19:42:08 +06:00
1 parent 5fcb1d1234
commit 9eafcd27fb
2 files changed
+102 -14

No files matched your search

+1 -1
View File
@@ -423,7 +423,7 @@ private:
float len = worldForward.norm();
if (len > 1e-6f) worldForward /= len;
pr.vel = worldForward * velocity;
pr.lifeMs = 5000.0f;
pr.lifeMs = 15000.0f;
g_projectiles.push_back(pr);
std::cout << "Server: Created projectile from player " << id_