]> git.mxchange.org Git - simgear.git/blobdiff - simgear/route/route.hxx
Rotate the scenery tiles so that the horizont is axis aligned.
[simgear.git] / simgear / route / route.hxx
index 0b3701f1bef66ae2eccef6e5f66507663c283d64..75fac7f048739324612bafe53e5e4396cbd3ea86 100644 (file)
@@ -113,6 +113,10 @@ public:
        }
     }
 
+    inline int current_index() const {
+        return current_wp;
+    }
+
     /** Increment the current waypoint pointer. */
     inline void increment_current() {
        if ( current_wp < (int)route.size() - 1 ) {