Materialpool bei Eisengolems (Nachbesserung)

genau falsch herum gefixt, das.
This commit is contained in:
Enno Rehling 2005-05-29 15:00:48 +00:00
parent 21d2bb231d
commit 1949fd666a
1 changed files with 2 additions and 2 deletions

View File

@ -186,7 +186,7 @@ new_get_pooled(const unit * u, const resource_type * rtype, int mode)
int have = new_get_resource(u, rtype);
if ((u->race->ec_flags & GETITEM) == 0) {
mode &= ~(GET_SLACK|GET_RESERVE);
mode &= (GET_SLACK|GET_RESERVE);
}
if ((mode & GET_SLACK) && (mode & GET_RESERVE)) use = have;
@ -229,7 +229,7 @@ new_use_pooled(unit * u, const resource_type * rtype, int mode, int count)
int n = 0, have = new_get_resource(u, rtype);
if ((u->race->ec_flags & GETITEM) == 0) {
mode &= ~(GET_SLACK|GET_RESERVE);
mode &= (GET_SLACK|GET_RESERVE);
}
if ((mode & GET_SLACK) && (mode & GET_RESERVE)) {