summaryrefslogtreecommitdiffstats
path: root/src/control/Replay.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/control/Replay.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/control/Replay.h b/src/control/Replay.h
index 5dd8b651..84a6bef0 100644
--- a/src/control/Replay.h
+++ b/src/control/Replay.h
@@ -64,6 +64,8 @@ struct CStoredDetailedAnimationState
uint8 aGroupId2[NUM_PARTIAL_ANIMS_IN_REPLAY];
};
+void PlayReplayFromHD(void);
+
#ifdef GTA_REPLAY
#define REPLAY_STUB
#else
@@ -408,10 +410,12 @@ private:
static void EmptyAllPools(void);
static void MarkEverythingAsNew(void);
static void SaveReplayToHD(void);
- static void PlayReplayFromHD(void); // out of class in III PC and later because of SecuROM
static void FindFirstFocusCoordinate(CVector *coord);
static void ProcessLookAroundCam(void);
static size_t FindSizeOfPacket(uint8);
static void GoToNextBlock(void);
+
+ /* Absolute nonsense, but how could this function end up being outside of class? */
+ friend void PlayReplayFromHD(void);
#endif
};