]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Fix a few bugs detected by Cppcheck
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 18 May 2020 03:10:15 +0000 (03:10 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 18 May 2020 03:10:15 +0000 (03:10 +0000)
commita8d25d8be54fbd3f1a5e63ec8933d3d4d3f2d3d9
tree9201a1dbb98773e900ba39ece4b87e0ef6593226
parent99de0334ecd965057bacede95aabe9d2200a36a8
Fix a few bugs detected by Cppcheck
(warning) Logical conjunction always evaluates to false: matchrule < 0 && matchrule > 5.
(style) Condition 'k<16' is always true
(style) Variable 'settings->bounceminimumintensity2' is reassigned a value before the old one has been used.

From terencehill

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12532 d7cf8633-e32d-0410-b094-e92efae38249
cl_particles.c
prvm_cmds.c
r_shadow.c