(sd): Supply missing parenthesis for a cast from double to int. The

cast is only there to express intent, it doesn't change the meaning of
the code.
This commit is contained in:
Markus Armbruster 2006-03-26 14:03:50 +00:00
parent 2f08b52cef
commit d9b6937634

View file

@ -144,7 +144,7 @@ sd(natid att, natid own, coord x, coord y, int noisy, int defending,
} }
} }
} }
return (int)100 - eff * 100; return (int)(100 - eff * 100);
} }
int int