Showing 1 changed files with 6 additions and 3 deletions
+6 -3
Nasal/display.nas
... ...
@@ -41,8 +41,9 @@ var displayClass = {
41 41
                     'XPDR-TIME', 
42 42
                     'FlightInstruments',
43 43
                     'Horizon',
44
+                    'bankPointer',
44 45
             ]});
45
-            me.updateAi(getprop('/orientation/roll-deg'),getprop('orientation/pitch-deg'));
46
+            me.updateAI(getprop('/orientation/roll-deg'),getprop('orientation/pitch-deg'));
46 47
             me.progress.removeAllChildren();
47 48
             me.progress = nil;
48 49
             me.showInitProgress = nil;
... ...
@@ -118,7 +119,7 @@ var displayClass = {
118 119
         PitchScale : "rect(70,664,370,256)",
119 120
     },
120 121
 
121
-    updateAi: func(roll,pitch){
122
+    updateAI: func(roll,pitch){
122 123
         if (pitch > 80)
123 124
             pitch = 80;
124 125
         elsif(pitch < -80)
... ...
@@ -126,6 +127,8 @@ var displayClass = {
126 127
         me.screenElements.Horizon
127 128
             .setRotation(-roll * D2R)
128 129
             .setTranslation(0, pitch * 6.8571428);
129
-        settimer(func me.updateAi(getprop('/orientation/roll-deg'),getprop('orientation/pitch-deg')), 0.1);
130
+        me.screenElements.bankPointer
131
+            .setRotation(-roll * D2R);
132
+        settimer(func me.updateAI(getprop('/orientation/roll-deg'),getprop('orientation/pitch-deg')), 0.1);
130 133
     },
131 134
 };