dtscreen: Resolve (all) 11 warnigns caused by -Wall

This commit is contained in:
Peter Howkins
2012-11-16 15:57:36 +00:00
parent a67b65198d
commit b556633eca
6 changed files with 14 additions and 12 deletions

View File

@@ -250,7 +250,7 @@ ignite(pwin, pp)
x = random() % pp->width;
xvel = FLOATRAND(-pp->maxvelx, pp->maxvelx);
/* All this to stop too many rockets going offscreen: */
if (x < pp->lmargin && xvel < 0.0 || x > pp->rmargin && xvel > 0.0)
if ((x < pp->lmargin && xvel < 0.0) || (x > pp->rmargin && xvel > 0.0))
xvel = -xvel;
yvel = FLOATRAND(pp->minvely, pp->maxvely);
fuse = INTRAND(MINFUSE, MAXFUSE);