Browse Source

Merge pull request #54 from xyzz/fix_cgpregame_runlocked_crash

Fixed crash, "pure virtual method called", when calling doUpdate lambda from CGPreGame
Alexander Shishkin 11 năm trước cách đây
mục cha
commit
0b1ee70e56
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      client/gui/CIntObject.h

+ 1 - 1
client/gui/CIntObject.h

@@ -38,7 +38,7 @@ public:
 	virtual ~IUpdateable(){}; //d-tor
 };
 
-class ILockedUpdatable: protected IUpdateable
+class ILockedUpdatable: public IUpdateable
 {
 	boost::recursive_mutex updateGuard;
 public: