diff options
author | aap <aap@papnet.eu> | 2020-05-12 16:27:26 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-12 16:27:39 +0200 |
commit | 40829b52422cfcd031961fabf60ad99b3ae69ccc (patch) | |
tree | 73cb776ada029a62cdc026e35f3fdbcc9c738e8f /src/weapons/Weapon.cpp | |
parent | fix garages (diff) | |
download | re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar.gz re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar.bz2 re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar.lz re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar.xz re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.tar.zst re3-40829b52422cfcd031961fabf60ad99b3ae69ccc.zip |
Diffstat (limited to '')
-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; |