Remove redundant casts of argument to (prototyped) double parameter.

This commit is contained in:
Markus Armbruster 2006-05-01 12:34:16 +00:00
parent 7c3899bf89
commit 7ed308526c
19 changed files with 82 additions and 93 deletions

View file

@ -245,7 +245,7 @@ tran_plane(void)
return RET_FAIL;
}
dam = 1;
mcost = move_ground(&sect, &endsect, (double)weight,
mcost = move_ground(&sect, &endsect, weight,
player->argp[3], tran_map, 0, &dam);
dam /= count;
if (mcost < 0)