diff options
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Scroll.c')
| -rw-r--r-- | TemplePushing.c4s/System.c4g/Scroll.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/TemplePushing.c4s/System.c4g/Scroll.c b/TemplePushing.c4s/System.c4g/Scroll.c index f79bb63..3195abc 100644 --- a/TemplePushing.c4s/System.c4g/Scroll.c +++ b/TemplePushing.c4s/System.c4g/Scroll.c @@ -15,6 +15,7 @@ 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)) { @@ -39,3 +40,9 @@ public func AvoidFadeOut() { return GetAction(this) == "WannaRemove"; } + +private func DoMagic(object pByClonk) +{ + SetVisibility(GetVisibility(pByClonk), this); + return _inherited(pByClonk); +} |
