summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-01-01 00:55:00 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-01-01 00:55:00 +0100
commit402ecd63052cd3f9c4987d896d6c11e926a6f485 (patch)
treec674064864dc2e8095032cdd55943d47dcf891c2 /src/control
parentfix merge (diff)
downloadre3-402ecd63052cd3f9c4987d896d6c11e926a6f485.tar
re3-402ecd63052cd3f9c4987d896d6c11e926a6f485.tar.gz
re3-402ecd63052cd3f9c4987d896d6c11e926a6f485.tar.bz2
re3-402ecd63052cd3f9c4987d896d6c11e926a6f485.tar.lz
re3-402ecd63052cd3f9c4987d896d6c11e926a6f485.tar.xz
re3-402ecd63052cd3f9c4987d896d6c11e926a6f485.tar.zst
re3-402ecd63052cd3f9c4987d896d6c11e926a6f485.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Script.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index c08eefe2..2e47b288 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -5294,10 +5294,10 @@ int8 CRunningScript::ProcessCommandsFrom600To699(int32 command)
{
CollectParameters(&m_nIp, 1);
if (ScriptParams[0] != 0){
- CWorld::Players[CWorld::PlayerInFocus].m_nSwitchTaxiTime = CTimer::GetTimeInMilliseconds();
- CWorld::Players[CWorld::PlayerInFocus].m_bSwitchTaxi = true;
+ CWorld::Players[CWorld::PlayerInFocus].m_nUnusedTaxiTimer = CTimer::GetTimeInMilliseconds();
+ CWorld::Players[CWorld::PlayerInFocus].m_bUnusedTaxiThing = true;
}else{
- CWorld::Players[CWorld::PlayerInFocus].m_bSwitchTaxi = false;
+ CWorld::Players[CWorld::PlayerInFocus].m_bUnusedTaxiThing = false;
}
return 0;
}