summaryrefslogtreecommitdiff
path: root/src/kshape.c
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2020-04-23 16:07:25 +0200
committerTimotej Lazar <timotej.lazar@araneo.si>2020-04-23 18:52:43 +0200
commite2af28bdca767fb3924b35d14cf5e9ac05c219a9 (patch)
tree3efddafdfa8a32a7056b3486fa013acddeb64b1b /src/kshape.c
parentc1959877702d77f166eb0c4e4c36619c3ad4f9cc (diff)
Remove extraneous parens from ifs
Reported by clang.
Diffstat (limited to 'src/kshape.c')
-rw-r--r--src/kshape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kshape.c b/src/kshape.c
index a17d305..35f5742 100644
--- a/src/kshape.c
+++ b/src/kshape.c
@@ -4864,7 +4864,7 @@ void RenderParticle(PARTICLE *particlePtr)
offset[3].vx = -particleSize;
offset[3].vy = +particleSize;
- if ((particlePtr->ParticleID == PARTICLE_MUZZLEFLASH) )
+ if (particlePtr->ParticleID == PARTICLE_MUZZLEFLASH)
{
int theta = FastRandom()&4095;
RotateVertex(&offset[0],theta);