Remove superflous parenthesis.
This commit is contained in:
parent
0a50a48141
commit
5a0dc14626
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue