diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-12 19:31:23 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-12 19:31:23 +0200 |
commit | dc444b9ca06efd32eb624e5da063cfec309a086a (patch) | |
tree | 0d39d226b09d29ffabc1c8ba37573198772a2646 /src/weapons | |
parent | fix garages (diff) | |
parent | CClouds; disabled object clipping for SA cam (diff) | |
download | re3-dc444b9ca06efd32eb624e5da063cfec309a086a.tar re3-dc444b9ca06efd32eb624e5da063cfec309a086a.tar.gz re3-dc444b9ca06efd32eb624e5da063cfec309a086a.tar.bz2 re3-dc444b9ca06efd32eb624e5da063cfec309a086a.tar.lz re3-dc444b9ca06efd32eb624e5da063cfec309a086a.tar.xz re3-dc444b9ca06efd32eb624e5da063cfec309a086a.tar.zst re3-dc444b9ca06efd32eb624e5da063cfec309a086a.zip |
Diffstat (limited to 'src/weapons')
-rw-r--r-- | src/weapons/Weapon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weapons/Weapon.cpp b/src/weapons/Weapon.cpp index aef53094..f64368f6 100644 --- a/src/weapons/Weapon.cpp +++ b/src/weapons/Weapon.cpp @@ -1511,7 +1511,7 @@ CWeapon::FireSniper(CEntity *shooter) CVector dir = cam->Front; if ( DotProduct(dir, CVector(0.0f, -0.9894f, 0.145f)) > 0.997f ) - CCoronas::bSmallMoon = !CCoronas::bSmallMoon; + CCoronas::MoonSize = (CCoronas::MoonSize+1) & 7; dir.Normalise(); dir *= 16.0f; |