From c1a571802b668899aacd03074c2806efba3a807a Mon Sep 17 00:00:00 2001 From: Christian Schlittchen Date: Tue, 8 Jun 2004 10:09:39 +0000 Subject: [PATCH] - Artrewards verbrauchen sich --- src/common/items/artrewards.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/common/items/artrewards.c b/src/common/items/artrewards.c index 66ec8e3ab..334ca0558 100644 --- a/src/common/items/artrewards.c +++ b/src/common/items/artrewards.c @@ -142,6 +142,9 @@ use_trappedairelemental(struct unit * u, const struct item_type * itype, ADDMSG(&u->faction->msgs, msg_message("trappedairelemental_success", "unit region command ship", u, u->region, cm, sh)); + + itype->rtype->uchange(u, itype->rtype, -1); + return 1; } @@ -175,6 +178,8 @@ use_aurapotion50(struct unit * u, const struct item_type * itype, ADDMSG(&u->faction->msgs, msg_message("aurapotion50", "unit region command", u, u->region, cm)); + + itype->rtype->uchange(u, itype->rtype, -1); return 1; } @@ -259,6 +264,8 @@ use_instantartacademy(struct unit * u, const struct item_type * itype, ADDMSG(&u->region->msgs, msg_message( "artacademy_create", "unit region", u, u->region)); + + itype->rtype->uchange(u, itype->rtype, -1); return 1; } @@ -298,6 +305,8 @@ use_instantartsculpture(struct unit * u, const struct item_type * itype, ADDMSG(&u->region->msgs, msg_message( "artsculpture_create", "unit region command", u, u->region, cm)); + itype->rtype->uchange(u, itype->rtype, -1); + return 1; }