Rename LEVEL_NONE to LEVEL_GENERIC

This commit is contained in:
Sergeanur 2020-07-13 17:43:09 +03:00
parent 6eb8f6ae5a
commit 841fa5155c
27 changed files with 69 additions and 69 deletions

View file

@ -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);