From a306d0ebc8941d4660c6b68e24ae23c11357c1cc Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 25 Oct 2005 13:17:55 +0000 Subject: [PATCH] bugfix antimagiekristall --- src/common/gamecode/items.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/gamecode/items.c b/src/common/gamecode/items.c index 7e9fd2415..c2691f920 100644 --- a/src/common/gamecode/items.c +++ b/src/common/gamecode/items.c @@ -95,7 +95,7 @@ use_speedsail(struct unit * u, const struct item_type * itype, int amount, struc /* ------------------------------------------------------------- */ /* Kann auch von Nichtmagiern benutzt werden, erzeugt eine * Antimagiezone, die zwei Runden bestehen bleibt */ -static void +static int use_antimagiccrystal(unit * u, const struct item_type * itype, int amount, struct order * ord) { region * r = u->region; @@ -154,7 +154,7 @@ use_antimagiccrystal(unit * u, const struct item_type * itype, int amount, struc new_use_pooled(u, rt_crystal, GET_SLACK|GET_RESERVE|GET_POOLED_SLACK, amount); ADDMSG(&u->faction->msgs, msg_message("use_antimagiccrystal", "unit region", u, r)); - return; + return 0; } static int