Revert "return 0 aus der Spellfunktion weiterleiten."
This reverts commit 9a8d87678a2611937845fb64d96a3900e10343dc.
Change-Id: I9cb96a8c07da60e19352f11ce5d2b4d1daa16423
diff --git a/std/spellbook.c b/std/spellbook.c
index 54fea3c..24f824f 100644
--- a/std/spellbook.c
+++ b/std/spellbook.c
@@ -390,10 +390,11 @@
// Spruch ausfuehren.
res=(int)call_other(this_object(),fname,caster,ski);
}
- if (!caster)
+ // TODO: Wenn die ausgefuehrte Spellfunktion eine 0 zurueckgibt, sollen jetzt
+ // noch notify_fails zum Zuge kommen koennen. Daher in diesem Fall auch 0
+ // zurueckgeben.
+ if (!res || !caster)
return 1;
- if (!res)
- return 0;
if (!(ski[SI_NO_ATTACK_BUSY]&NO_ATTACK_BUSY_QUERY))
{