From b834426548107af96c2568af22cbf8604f230965 Mon Sep 17 00:00:00 2001 From: oy Date: Sat, 12 Mar 2011 18:07:57 +0100 Subject: fixed several problems with spectator view in game and demo player. Closes #83 --- src/engine/shared/demo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/engine/shared/demo.h') diff --git a/src/engine/shared/demo.h b/src/engine/shared/demo.h index d8ce70b2..62e2bfd1 100644 --- a/src/engine/shared/demo.h +++ b/src/engine/shared/demo.h @@ -94,6 +94,7 @@ private: CKeyFrame *m_pKeyFrames; CPlaybackInfo m_Info; + int m_DemoType; unsigned char m_aLastSnapshotData[CSnapshot::MAX_SIZE]; int m_LastSnapshotDataSize; class CSnapshotDelta *m_pSnapshotDelta; @@ -119,6 +120,7 @@ public: const CInfo *BaseInfo() const { return &m_Info.m_Info; } char *GetDemoName(); bool GetDemoInfo(class IStorage *pStorage, const char *pFilename, int StorageType, char *pMap, int BufferSize) const; + int GetDemoType() const; int Update(); -- cgit 1.4.1