summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2Sprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2Sprite.h')
-rw-r--r--src/T2DLL/T2Sprite.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/T2DLL/T2Sprite.h b/src/T2DLL/T2Sprite.h
index 3210f11..32748d3 100644
--- a/src/T2DLL/T2Sprite.h
+++ b/src/T2DLL/T2Sprite.h
@@ -2,7 +2,7 @@
#include "common.h"
#include "T2SpriteObj.h"
-class AFX_CLASS_EXPORT T2Sprite : private CList<T2SpriteObj *, T2SpriteObj *> {
+class AFX_CLASS_EXPORT T2Sprite : protected CList<T2SpriteObj *, T2SpriteObj *> {
public:
T2Sprite();
virtual ~T2Sprite();
@@ -34,4 +34,6 @@ private:
void AddUpdateRect(T2SpriteObj* obj, POINT pt);
RECT mUpdateRect;
+
+ friend class T2TowerDoc;
};