Remove superflous parenthesis.

This commit is contained in:
Markus Armbruster 2006-06-22 20:28:54 +00:00
parent 0a50a48141
commit 5a0dc14626

View file

@ -177,7 +177,7 @@ damage(int amt, int pct)
return 0; return 0;
tmp = amt * pct; tmp = amt * pct;
lost = tmp / 100; lost = tmp / 100;
if ((random() % 100) < (tmp % 100)) if (random() % 100 < tmp % 100)
lost++; lost++;
return amt - lost; return amt - lost;
} }