diff options
| author | Mittendrein Markus <maxmitti@gmx.net> | 2016-03-04 14:03:59 +0100 |
|---|---|---|
| committer | Mittendrein Markus <maxmitti@gmx.net> | 2016-03-04 14:03:59 +0100 |
| commit | 02e1a77e7e7679c7f674366ded95a9d6db48e9e4 (patch) | |
| tree | 89f3e48ccff7df353fd2cd71f4945b248d9521e8 /TemplePushing.c4s/System.c4g | |
| parent | e07fef401e91b26f8b0f43382017603ad20c2a3f (diff) | |
| download | tempelschubsen-02e1a77e7e7679c7f674366ded95a9d6db48e9e4.tar.gz tempelschubsen-02e1a77e7e7679c7f674366ded95a9d6db48e9e4.zip | |
Fix removing of scrolls after successfully using deflection or stoneshield
Diffstat (limited to 'TemplePushing.c4s/System.c4g')
| -rw-r--r-- | TemplePushing.c4s/System.c4g/Stoneshield.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/TemplePushing.c4s/System.c4g/Stoneshield.c b/TemplePushing.c4s/System.c4g/Stoneshield.c index 0aabbac..f342f1b 100644 --- a/TemplePushing.c4s/System.c4g/Stoneshield.c +++ b/TemplePushing.c4s/System.c4g/Stoneshield.c @@ -19,7 +19,11 @@ func Activate(pCaster,pRealcaster) var comDir = pClonk->GetComDir();
var selector;
if ((selector = pClonk->~DoSpellSelect(this,300,pCaster)) && (selector->CountTargets() > 1 || !SelectorTarget(pClonk))) return 1;
- if (selector) RemoveObject(selector);
+ if (selector)
+ {
+ pCaster->SpellSucceeded(GetID(), pClonk);
+ RemoveObject(selector);
+ }
pClonk->SetComDir(comDir);
// Clonk kann nicht auswählen: Clonk bekommst selbst ein Schild
|
