Permalink
Browse files

cgame: bad index range [0 - 4] 5 elements

  • Loading branch information...
Aranud committed Sep 14, 2018
1 parent 0b6190d commit 6ce3fa925464687524c9f70831e11cf128ca3755
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cgame/cg_particles.c
View
@@ -1330,7 +1330,7 @@ void CG_ParticleSmoke(qhandle_t pshader, centity_t *cent)
p->endheight = cent->currentState.angles2[1];
p->endwidth = cent->currentState.angles2[1];
p->pshader = cgs.media.smokePuffShaderb[rand() % 6];
p->pshader = cgs.media.smokePuffShaderb[rand() % 5];
}
p->type = P_SMOKE;

0 comments on commit 6ce3fa9

Please sign in to comment.