summaryrefslogtreecommitdiffstats
path: root/src/control/Script.h
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-11-08 18:31:24 +0100
committerRoman Masanin <36927roma@gmail.com>2020-11-08 18:31:24 +0100
commit95bd5b073a9e05a362d8fd8f64a0a1abba597253 (patch)
tree6ae2b6322c07f8d701f5f8e7918c44ae1a6afdc5 /src/control/Script.h
parentfix for merge fix (diff)
downloadre3-95bd5b073a9e05a362d8fd8f64a0a1abba597253.tar
re3-95bd5b073a9e05a362d8fd8f64a0a1abba597253.tar.gz
re3-95bd5b073a9e05a362d8fd8f64a0a1abba597253.tar.bz2
re3-95bd5b073a9e05a362d8fd8f64a0a1abba597253.tar.lz
re3-95bd5b073a9e05a362d8fd8f64a0a1abba597253.tar.xz
re3-95bd5b073a9e05a362d8fd8f64a0a1abba597253.tar.zst
re3-95bd5b073a9e05a362d8fd8f64a0a1abba597253.zip
Diffstat (limited to '')
-rw-r--r--src/control/Script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.h b/src/control/Script.h
index 8949fe05..c6ece50f 100644
--- a/src/control/Script.h
+++ b/src/control/Script.h
@@ -381,7 +381,7 @@ private:
public:
static void RemoveThisPed(CPed* pPed);
- static uint32* GetLastMissionPassedTime() { return &LastMissionPassedTime; }
+ static uint32& GetLastMissionPassedTime() { return LastMissionPassedTime; }
#ifdef MISSION_SWITCHER
static void SwitchToMission(int32 mission);
#endif