summaryrefslogtreecommitdiff
path: root/src/core/World.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-07-13 17:43:09 +0300
committerSergeanur <s.anureev@yandex.ua>2020-07-13 17:43:09 +0300
commit841fa5155c17b6edf4774deaa311a4e5935be4d6 (patch)
tree7fae91d0edd59cdb4c340d9cf590e0cd07a75310 /src/core/World.cpp
parent6eb8f6ae5a87fe32c93388e67559da988f48fb7f (diff)
Rename LEVEL_NONE to LEVEL_GENERIC
Diffstat (limited to 'src/core/World.cpp')
-rw-r--r--src/core/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp
index 8bcce8e7..9f384048 100644
--- a/src/core/World.cpp
+++ b/src/core/World.cpp
@@ -1797,7 +1797,7 @@ CWorld::ClearForRestart(void)
CWorld::Remove(pEntity);
delete pEntity;
}
- for(CPtrNode *pNode = GetBigBuildingList(LEVEL_NONE).first; pNode; pNode = pNode->next) {
+ for(CPtrNode *pNode = GetBigBuildingList(LEVEL_GENERIC).first; pNode; pNode = pNode->next) {
CVehicle *pVehicle = (CVehicle *)pNode->item;
if(pVehicle && pVehicle->IsVehicle() && pVehicle->IsPlane()) {
CWorld::Remove(pVehicle);