summaryrefslogtreecommitdiffstats
path: root/src/control/Replay.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-03 21:36:32 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-03 21:36:32 +0100
commit33f467453e2447a9df9a53c92960e775f7bae0ba (patch)
treeb305827c56d65a422944b681bba27a35b4fe1992 /src/control/Replay.cpp
parentFrontend: disable windowed mode selector while in game (diff)
downloadre3-33f467453e2447a9df9a53c92960e775f7bae0ba.tar
re3-33f467453e2447a9df9a53c92960e775f7bae0ba.tar.gz
re3-33f467453e2447a9df9a53c92960e775f7bae0ba.tar.bz2
re3-33f467453e2447a9df9a53c92960e775f7bae0ba.tar.lz
re3-33f467453e2447a9df9a53c92960e775f7bae0ba.tar.xz
re3-33f467453e2447a9df9a53c92960e775f7bae0ba.tar.zst
re3-33f467453e2447a9df9a53c92960e775f7bae0ba.zip
Diffstat (limited to 'src/control/Replay.cpp')
-rw-r--r--src/control/Replay.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp
index 1c68cad9..37a54999 100644
--- a/src/control/Replay.cpp
+++ b/src/control/Replay.cpp
@@ -1508,12 +1508,12 @@ void CReplay::RestoreStuffFromMem(void)
tmp1.UpdateRW();
}
else if (mi == MI_HUNTER) {
- RpAtomicSetFlags((RpAtomic*)GetFirstObject(car->m_aCarNodes[CAR_WHEEL_LF]), 0);
- RpAtomicSetFlags((RpAtomic*)GetFirstObject(car->m_aCarNodes[CAR_WHEEL_RF]), 0);
RpAtomicSetFlags((RpAtomic*)GetFirstObject(car->m_aCarNodes[CAR_WHEEL_LB]), 0);
RpAtomicSetFlags((RpAtomic*)GetFirstObject(car->m_aCarNodes[CAR_WHEEL_RB]), 0);
}
else if (vehicle->IsRealHeli()) {
+ RpAtomicSetFlags((RpAtomic*)GetFirstObject(car->m_aCarNodes[CAR_WHEEL_LF]), 0);
+ RpAtomicSetFlags((RpAtomic*)GetFirstObject(car->m_aCarNodes[CAR_WHEEL_RF]), 0);
RpAtomicSetFlags((RpAtomic*)GetFirstObject(car->m_aCarNodes[CAR_WHEEL_LB]), 0);
RpAtomicSetFlags((RpAtomic*)GetFirstObject(car->m_aCarNodes[CAR_WHEEL_RB]), 0);
}