Remove the victim argument to rust_dmg().

The argument can be calculated from `otmp`.
This commit is contained in:
Sean Hunt
2015-02-23 15:08:30 -05:00
parent 5ffd5a3000
commit 9c4b0113aa
6 changed files with 39 additions and 38 deletions

View File

@@ -983,7 +983,7 @@ dokick()
if(!rn2(3)) goto ouch;
/* make metal boots rust */
if(uarmf && rn2(3))
if (!rust_dmg(uarmf, "metal boots", 1, FALSE, &youmonst)) {
if (!rust_dmg(uarmf, "metal boots", 1, FALSE)) {
Your("boots get wet.");
/* could cause short-lived fumbling here */
}