Fix bulletthroughwood and bulletthroughmetal not being archived correctly

This caused issues on some single-player maps where bullet would go through walls
This commit is contained in:
smallmodel 2024-11-17 18:02:35 +01:00
parent cea0d95fee
commit 16711a33ef
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -535,8 +535,8 @@ inline void Weapon::Archive(Archiver& arc)
arc.ArchiveFloat(&bulletknockback[0]);
arc.ArchiveFloat(&bulletknockback[1]);
arc.ArchiveFloat(&bulletthroughwood[0]);
arc.ArchiveFloat(&bulletthroughwood[0]);
arc.ArchiveFloat(&bulletthroughmetal[1]);
arc.ArchiveFloat(&bulletthroughwood[1]);
arc.ArchiveFloat(&bulletthroughmetal[0]);
arc.ArchiveFloat(&bulletthroughmetal[1]);
arc.ArchiveFloat(&projectilespeed[0]);
arc.ArchiveFloat(&projectilespeed[1]);