summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Cranes.cpp
diff options
context:
space:
mode:
authorshfil <filip.gawin@zoho.com>2021-01-10 17:14:33 +0100
committerGitHub <noreply@github.com>2021-01-10 17:14:33 +0100
commitc3b6e9da43c1e61a076056feb74aefbecbad39c6 (patch)
tree48e7d7095a3c2f5bc4aea2ba365f87f9bb8d2758 /src/vehicles/Cranes.cpp
parentenv map tweaks (diff)
downloadre3-c3b6e9da43c1e61a076056feb74aefbecbad39c6.tar
re3-c3b6e9da43c1e61a076056feb74aefbecbad39c6.tar.gz
re3-c3b6e9da43c1e61a076056feb74aefbecbad39c6.tar.bz2
re3-c3b6e9da43c1e61a076056feb74aefbecbad39c6.tar.lz
re3-c3b6e9da43c1e61a076056feb74aefbecbad39c6.tar.xz
re3-c3b6e9da43c1e61a076056feb74aefbecbad39c6.tar.zst
re3-c3b6e9da43c1e61a076056feb74aefbecbad39c6.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Cranes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Cranes.cpp b/src/vehicles/Cranes.cpp
index ffcb80d0..ce254100 100644
--- a/src/vehicles/Cranes.cpp
+++ b/src/vehicles/Cranes.cpp
@@ -466,7 +466,7 @@ bool CCranes::DoesMilitaryCraneHaveThisOneAlready(uint32 mi)
case MI_FIRETRUCK: return (CarsCollectedMilitaryCrane & 1);
case MI_AMBULAN: return (CarsCollectedMilitaryCrane & 2);
case MI_ENFORCER: return (CarsCollectedMilitaryCrane & 4);
- case MI_FBIRANCH: return (CarsCollectedMilitaryCrane & 8);
+ case (uint32)MI_FBIRANCH: return (CarsCollectedMilitaryCrane & 8);
case MI_RHINO: return (CarsCollectedMilitaryCrane & 0x10);
case MI_BARRACKS: return (CarsCollectedMilitaryCrane & 0x20);
case MI_POLICE: return (CarsCollectedMilitaryCrane & 0x40);
@@ -481,7 +481,7 @@ void CCranes::RegisterCarForMilitaryCrane(uint32 mi)
case MI_FIRETRUCK: CarsCollectedMilitaryCrane |= 1; break;
case MI_AMBULAN: CarsCollectedMilitaryCrane |= 2; break;
case MI_ENFORCER: CarsCollectedMilitaryCrane |= 4; break;
- case MI_FBIRANCH: CarsCollectedMilitaryCrane |= 8; break;
+ case (uint32)MI_FBIRANCH: CarsCollectedMilitaryCrane |= 8; break;
case MI_RHINO: CarsCollectedMilitaryCrane |= 0x10; break;
case MI_BARRACKS: CarsCollectedMilitaryCrane |= 0x20; break;
case MI_POLICE: CarsCollectedMilitaryCrane |= 0x40; break;