summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-05 23:27:43 +0200
committeraap <aap@papnet.eu>2020-05-05 23:27:43 +0200
commit68d3ea9c42f985077d34174f937dbf520d9493e8 (patch)
tree8ab10b1aacea87ed8dde3b172e4a00fae51eb4a3 /src/vehicles
parentFix appveyour (diff)
downloadre3-68d3ea9c42f985077d34174f937dbf520d9493e8.tar
re3-68d3ea9c42f985077d34174f937dbf520d9493e8.tar.gz
re3-68d3ea9c42f985077d34174f937dbf520d9493e8.tar.bz2
re3-68d3ea9c42f985077d34174f937dbf520d9493e8.tar.lz
re3-68d3ea9c42f985077d34174f937dbf520d9493e8.tar.xz
re3-68d3ea9c42f985077d34174f937dbf520d9493e8.tar.zst
re3-68d3ea9c42f985077d34174f937dbf520d9493e8.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Cranes.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vehicles/Cranes.cpp b/src/vehicles/Cranes.cpp
index 3ef11302..e1f46f7d 100644
--- a/src/vehicles/Cranes.cpp
+++ b/src/vehicles/Cranes.cpp
@@ -57,7 +57,8 @@ void CCranes::InitCranes(void)
}
}
}
- for (CPtrNode* pNode = CWorld::GetBigBuildingList(LEVEL_INDUSTRIAL).first; pNode; pNode = pNode->next) {
+ // TODO(MIAMI): LEVEL_MAINLAND just so it compiles
+ for (CPtrNode* pNode = CWorld::GetBigBuildingList(LEVEL_MAINLAND).first; pNode; pNode = pNode->next) {
CEntity* pEntity = (CEntity*)pNode->item;
if (MODELID_CRANE_1 == pEntity->GetModelIndex() ||
MODELID_CRANE_2 == pEntity->GetModelIndex() ||