summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-09-26 20:16:55 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-09-26 20:16:55 +0200
commit3c5624bc56c8ae6b28b298b8f00e37751887cbb0 (patch)
treec9b748710e3a05c2a11e53fd070fbbbae9d6e711 /src
parentVC replays (diff)
downloadre3-3c5624bc56c8ae6b28b298b8f00e37751887cbb0.tar
re3-3c5624bc56c8ae6b28b298b8f00e37751887cbb0.tar.gz
re3-3c5624bc56c8ae6b28b298b8f00e37751887cbb0.tar.bz2
re3-3c5624bc56c8ae6b28b298b8f00e37751887cbb0.tar.lz
re3-3c5624bc56c8ae6b28b298b8f00e37751887cbb0.tar.xz
re3-3c5624bc56c8ae6b28b298b8f00e37751887cbb0.tar.zst
re3-3c5624bc56c8ae6b28b298b8f00e37751887cbb0.zip
Diffstat (limited to 'src')
-rw-r--r--src/control/Replay.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp
index 4ae1cf1b..45f1a143 100644
--- a/src/control/Replay.cpp
+++ b/src/control/Replay.cpp
@@ -1894,7 +1894,7 @@ size_t CReplay::FindSizeOfPacket(uint8 type)
switch (type) {
case REPLAYPACKET_END: return 4;
case REPLAYPACKET_VEHICLE: return sizeof(tVehicleUpdatePacket);
- case REPLAYPACKET_BIKE: return sizeof(tBikeUpdatePacket);
+ case REPLAYPACKET_BIKE: return sizeof(tBikeUpdatePacket);
case REPLAYPACKET_PED_HEADER: return sizeof(tPedHeaderPacket);
case REPLAYPACKET_PED_UPDATE: return sizeof(tPedUpdatePacket);
case REPLAYPACKET_GENERAL: return sizeof(tGeneralPacket);
@@ -1903,8 +1903,8 @@ size_t CReplay::FindSizeOfPacket(uint8 type)
case REPLAYPACKET_ENDOFFRAME: return 4;
case REPLAYPACKET_TIMER: return sizeof(tTimerPacket);
case REPLAYPACKET_BULLET_TRACES:return sizeof(tBulletTracePacket);
- case REPLAYPACKET_PARTICLE: return sizeof(tParticlePacket);
- case REPLAYPACKET_MISC: return sizeof(tMiscPacket);
+ case REPLAYPACKET_PARTICLE: return sizeof(tParticlePacket);
+ case REPLAYPACKET_MISC: return sizeof(tMiscPacket);
default: assert(false); break;
}
return 0;