Remove superflous casts and parenthesis.
This commit is contained in:
parent
f883710417
commit
cd73a47dfa
28 changed files with 136 additions and 145 deletions
|
@ -346,7 +346,7 @@ fire_dchrg(struct shpstr *sp, struct shpstr *targ, int ntargets)
|
|||
return;
|
||||
|
||||
/* ok, all set.. now, we shoot */
|
||||
shells -= ldround(((double)gun) / 2.0, 1);
|
||||
shells -= ldround(gun / 2.0, 1);
|
||||
sp->shp_item[I_SHELL] = shells;
|
||||
putship(sp->shp_uid, sp);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue