From a85fa0367eb4b895ec93054b1fb5eaa0aea5baa3 Mon Sep 17 00:00:00 2001 From: Mittendrein Markus Date: Tue, 8 Sep 2015 22:46:43 +0200 Subject: Scroll.c cleanup :s --- TemplePushing.c4s/System.c4g/Scroll.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'TemplePushing.c4s/System.c4g') 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); } -- cgit v1.2.3-54-g00ecf