forked from github/server
dumpfbackenbrote abziehen.
This commit is contained in:
parent
533fdf4143
commit
7a1352c3b5
|
@ -1940,6 +1940,7 @@ use_foolpotion(struct unit *u, int targetno, const struct item_type *itype, int
|
||||||
"unit recipient amount", u, target, amount));
|
"unit recipient amount", u, target, amount));
|
||||||
assert(oldpotiontype[P_FOOL]->itype==itype);
|
assert(oldpotiontype[P_FOOL]->itype==itype);
|
||||||
change_effect(target, oldpotiontype[P_FOOL], amount);
|
change_effect(target, oldpotiontype[P_FOOL], amount);
|
||||||
|
new_use_pooled(u, itype->rtype, GET_DEFAULT, amount);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue