summaryrefslogtreecommitdiffstats
path: root/src/control/Record.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/control/Record.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/control/Record.cpp b/src/control/Record.cpp
index f10a6d00..d3e48647 100644
--- a/src/control/Record.cpp
+++ b/src/control/Record.cpp
@@ -69,12 +69,17 @@ void CRecordDataForChase::ProcessControlCars(void)
{
}
-#if (defined(GTA_PS2) || defined(FIX_BUGS))
bool CRecordDataForChase::ShouldThisPadBeLeftAlone(uint8 pad)
{
+ // may be wrong
+ if (Status == STATE_PLAYBACK_INIT) // this is useless but ps2 def checks if it's STATE_PLAYBACK_INIT
+ return false;
+
+ if (Status == STATE_RECORD)
+ return pad != 0;
+
return false;
}
-#endif
void CRecordDataForChase::GiveUsACar(int32 mi, CVector pos, float angle, CAutomobile** ppCar, uint8 colour1, uint8 colour2)
{