summaryrefslogtreecommitdiffstats
path: root/src/Clock.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-05-29 18:06:33 +0200
committeraap <aap@papnet.eu>2019-05-29 18:06:33 +0200
commit820fd66a94c20c4e1dab21f6abda4138eaefbe79 (patch)
tree445a810baf60f29c455dbaf4b3e82934806b49a8 /src/Clock.cpp
parentmore CVehicleModelInfo (diff)
downloadre3-820fd66a94c20c4e1dab21f6abda4138eaefbe79.tar
re3-820fd66a94c20c4e1dab21f6abda4138eaefbe79.tar.gz
re3-820fd66a94c20c4e1dab21f6abda4138eaefbe79.tar.bz2
re3-820fd66a94c20c4e1dab21f6abda4138eaefbe79.tar.lz
re3-820fd66a94c20c4e1dab21f6abda4138eaefbe79.tar.xz
re3-820fd66a94c20c4e1dab21f6abda4138eaefbe79.tar.zst
re3-820fd66a94c20c4e1dab21f6abda4138eaefbe79.zip
Diffstat (limited to 'src/Clock.cpp')
-rw-r--r--src/Clock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Clock.cpp b/src/Clock.cpp
index dc8e1599..bd4126f2 100644
--- a/src/Clock.cpp
+++ b/src/Clock.cpp
@@ -30,7 +30,7 @@ CClock::Initialise(uint32 scale)
void
CClock::Update(void)
{
- if(CPad::GetPad(1)->NewState.r1){
+ if(CPad::GetPad(1)->GetRightShoulder1()){
ms_nGameClockMinutes += 8;
ms_nLastClockTick = CTimer::GetTimeInMilliseconds();
if(ms_nGameClockMinutes >= 60){