summaryrefslogtreecommitdiffstats
path: root/src/weapons/Weapon.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-12 16:27:26 +0200
committeraap <aap@papnet.eu>2020-05-12 16:27:39 +0200
commit40829b52422cfcd031961fabf60ad99b3ae69ccc (patch)
tree73cb776ada029a62cdc026e35f3fdbcc9c738e8f /src/weapons/Weapon.cpp
parentfix garages (diff)
downloadre3-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.cpp2
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;