summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/System.c4g')
-rw-r--r--TemplePushing.c4s/System.c4g/Scroll.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/TemplePushing.c4s/System.c4g/Scroll.c b/TemplePushing.c4s/System.c4g/Scroll.c
index 3195abc..7cf2ee1 100644
--- a/TemplePushing.c4s/System.c4g/Scroll.c
+++ b/TemplePushing.c4s/System.c4g/Scroll.c
@@ -14,7 +14,6 @@ protected func Initialize()
public func SpellFailed(id idSpell, object pAimingClonk)
{
// Spell canceled? Give back the scroll
- SetActionTargets(0, 0, this);
SetVisibility(VIS_All);
SetSpell(idSpell);
if(pAimingClonk && !pAimingClonk->~RejectCollect(GetID(this), this))
@@ -43,6 +42,6 @@ public func AvoidFadeOut()
private func DoMagic(object pByClonk)
{
- SetVisibility(GetVisibility(pByClonk), this);
+ SetVisibility(VIS_Owner | VIS_Allies, this);
return _inherited(pByClonk);
}