summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/Scroll.c
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Scroll.c')
-rw-r--r--TemplePushing.c4s/System.c4g/Scroll.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/TemplePushing.c4s/System.c4g/Scroll.c b/TemplePushing.c4s/System.c4g/Scroll.c
index 15ae5e0..c9098df 100644
--- a/TemplePushing.c4s/System.c4g/Scroll.c
+++ b/TemplePushing.c4s/System.c4g/Scroll.c
@@ -51,3 +51,12 @@ func SetSpell(id spell)
SetClrModulation(spell->~ScrollColor());
return _inherited(spell, ...);
}
+
+func Entrance2(object pContainer)
+{
+ if (pContainer && GetOCF(pContainer) & OCF_CrewMember)
+ {
+ pContainer->~ShowTeamHUD(Format("{{%i}}", idSpell));
+ }
+ return _inherited(pContainer, ...);
+}