summaryrefslogtreecommitdiffstats
path: root/src/core/Pools.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-01 11:54:05 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-07 19:24:01 +0200
commitc69edce8007178755d979f638852abb9359950c2 (patch)
treef041976b6ac5421582deae12e056b0d2e6e04ac2 /src/core/Pools.cpp
parentlcs specific hack (diff)
downloadre3-c69edce8007178755d979f638852abb9359950c2.tar
re3-c69edce8007178755d979f638852abb9359950c2.tar.gz
re3-c69edce8007178755d979f638852abb9359950c2.tar.bz2
re3-c69edce8007178755d979f638852abb9359950c2.tar.lz
re3-c69edce8007178755d979f638852abb9359950c2.tar.xz
re3-c69edce8007178755d979f638852abb9359950c2.tar.zst
re3-c69edce8007178755d979f638852abb9359950c2.zip
Diffstat (limited to 'src/core/Pools.cpp')
-rw-r--r--src/core/Pools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Pools.cpp b/src/core/Pools.cpp
index a85d6846..c4b4d3b0 100644
--- a/src/core/Pools.cpp
+++ b/src/core/Pools.cpp
@@ -269,7 +269,7 @@ INITSAVEBUF
if (pVehicle->IsBoat() && (pVehicle->VehicleCreatedBy == MISSION_VEHICLE || bForceSaving))
++nNumBoats;
if (pVehicle->IsBike() && (pVehicle->VehicleCreatedBy == MISSION_VEHICLE || bForceSaving))
- ++nNumBoats;
+ ++nNumBikes;
#else
if (!pVehicle->pDriver && !bHasPassenger) {
if (pVehicle->IsCar() && pVehicle->VehicleCreatedBy == MISSION_VEHICLE)
@@ -277,7 +277,7 @@ INITSAVEBUF
if (pVehicle->IsBoat() && pVehicle->VehicleCreatedBy == MISSION_VEHICLE)
++nNumBoats;
if (pVehicle->IsBike() && pVehicle->VehicleCreatedBy == MISSION_VEHICLE)
- ++nNumBoats;
+ ++nNumBikes;
#endif
}
}