summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/Aimer.c
diff options
context:
space:
mode:
authorMittendrein Markus <maxmitti@gmx.net>2015-09-08 22:13:10 +0200
committerMittendrein Markus <maxmitti@gmx.net>2015-09-08 22:13:10 +0200
commitdc48c50da83a43ec1d5cd464a551d5d07107129b (patch)
treee828e5eb8f27d522daa5f558a281ba82d0f5e9c8 /TemplePushing.c4s/System.c4g/Aimer.c
parent32c8a57f8c05104096e9457193f77d0237ab8911 (diff)
downloadtempelschubsen-dc48c50da83a43ec1d5cd464a551d5d07107129b.tar.gz
tempelschubsen-dc48c50da83a43ec1d5cd464a551d5d07107129b.zip
SetVisibility(VIS_Owner | VIS_Allies) for scrolls while aiming and for the aimer, so they can't be seen from enemies with Vertices+Entrance debug mode
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Aimer.c')
-rw-r--r--TemplePushing.c4s/System.c4g/Aimer.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/TemplePushing.c4s/System.c4g/Aimer.c b/TemplePushing.c4s/System.c4g/Aimer.c
index 30a30e9..381aa58 100644
--- a/TemplePushing.c4s/System.c4g/Aimer.c
+++ b/TemplePushing.c4s/System.c4g/Aimer.c
@@ -44,4 +44,10 @@ public func Create(object pCommandObject, object pMenuObj, int iStartAngle)
var ret = _inherited(pCommandObject, pMenuObj, iStartAngle);
targetDir = pTargetObject->GetDir();
return ret;
-} \ No newline at end of file
+}
+
+public func Initialize()
+{
+ SetVisibility(VIS_Owner | VIS_Allies);
+ return _inherited(...);
+}