]> git.mxchange.org Git - simgear.git/blobdiff - simgear/structure/event_mgr.hxx
Ready for 0.3.8 release.
[simgear.git] / simgear / structure / event_mgr.hxx
index 07c65d5faa9a739869de487d6bc2895541de6d86..4c89b06022da3851df8217cf5d24b45ef969856a 100644 (file)
@@ -42,6 +42,7 @@ private:
     int parent(int n) { return ((n+1)/2) - 1; }
     int lchild(int n) { return ((n+1)*2) - 1; }
     int rchild(int n) { return ((n+1)*2 + 1) - 1; }
+    double pri(int n) { return _table[n].pri; }
     void swap(int a, int b) {
        HeapEntry tmp = _table[a];
        _table[a] = _table[b];
@@ -62,6 +63,7 @@ class SGEventMgr : public SGSubsystem
 {
 public:
     SGEventMgr() { _freezeProp = 0; }
+    ~SGEventMgr() { _freezeProp = 0; }
 
     virtual void init() {}
     virtual void update(double delta_time_sec);