diff options
| author | Mittendrein Markus <maxmitti@gmx.net> | 2015-09-08 22:46:43 +0200 |
|---|---|---|
| committer | Mittendrein Markus <maxmitti@gmx.net> | 2015-09-08 22:46:43 +0200 |
| commit | a85fa0367eb4b895ec93054b1fb5eaa0aea5baa3 (patch) | |
| tree | fd23ada24528bb0ceeba9fccc201355b2b7096bf /TemplePushing.c4s/System.c4g | |
| parent | dc48c50da83a43ec1d5cd464a551d5d07107129b (diff) | |
| download | tempelschubsen-a85fa0367eb4b895ec93054b1fb5eaa0aea5baa3.tar.gz tempelschubsen-a85fa0367eb4b895ec93054b1fb5eaa0aea5baa3.zip | |
Scroll.c cleanup :s
Diffstat (limited to 'TemplePushing.c4s/System.c4g')
| -rw-r--r-- | TemplePushing.c4s/System.c4g/Scroll.c | 3 |
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); } |
