summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s
diff options
context:
space:
mode:
authorMittendrein Markus <maxmitti@gmx.net>2015-09-08 22:46:43 +0200
committerMittendrein Markus <maxmitti@gmx.net>2015-09-08 22:46:43 +0200
commita85fa0367eb4b895ec93054b1fb5eaa0aea5baa3 (patch)
treefd23ada24528bb0ceeba9fccc201355b2b7096bf /TemplePushing.c4s
parentdc48c50da83a43ec1d5cd464a551d5d07107129b (diff)
downloadtempelschubsen-a85fa0367eb4b895ec93054b1fb5eaa0aea5baa3.tar.gz
tempelschubsen-a85fa0367eb4b895ec93054b1fb5eaa0aea5baa3.zip
Scroll.c cleanup :s
Diffstat (limited to 'TemplePushing.c4s')
-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);
}