kill a warning

This commit is contained in:
Bill Currie 2003-11-05 20:13:41 +00:00
parent 256edd3714
commit 490c8087e8

View file

@ -110,8 +110,7 @@ void(float shotcount, vector spread, void() deathmessage) _fire_bullets =
dist_left = 8192; dist_left = 8192;
do { do {
/* FIXME: Remove '0' when compiler is fixed */ for (; shotcount > 0; shotcount--) {
for (0; shotcount > 0; shotcount--) {
direction = dir + crandom()*spread_x*v_right + crandom()*spread_y*v_up; direction = dir + crandom()*spread_x*v_right + crandom()*spread_y*v_up;
traceline(src, src + direction*dist_left, FALSE, ignore); traceline(src, src + direction*dist_left, FALSE, ignore);