mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 21:14:08 +00:00
Rename LEVEL_NONE to LEVEL_GENERIC
This commit is contained in:
parent
6eb8f6ae5a
commit
841fa5155c
27 changed files with 69 additions and 69 deletions
|
@ -90,7 +90,7 @@ CTheZones::Init(void)
|
|||
TotalNumberOfZoneInfos = 1; // why 1?
|
||||
TotalNumberOfZones = 1;
|
||||
|
||||
m_CurrLevel = LEVEL_NONE;
|
||||
m_CurrLevel = LEVEL_GENERIC;
|
||||
m_pPlayersZone = &ZoneArray[0];
|
||||
|
||||
strcpy(ZoneArray[0].name, "CITYZON");
|
||||
|
@ -100,7 +100,7 @@ CTheZones::Init(void)
|
|||
ZoneArray[0].maxx = 4000.0f;
|
||||
ZoneArray[0].maxy = 4000.0f;
|
||||
ZoneArray[0].maxz = 500.0f;
|
||||
ZoneArray[0].level = LEVEL_NONE;
|
||||
ZoneArray[0].level = LEVEL_GENERIC;
|
||||
|
||||
for(i = 0; i < NUMMAPZONES; i++){
|
||||
memset(&MapZoneArray[i], 0, sizeof(CZone));
|
||||
|
@ -116,7 +116,7 @@ CTheZones::Init(void)
|
|||
MapZoneArray[0].maxx = 4000.0f;
|
||||
MapZoneArray[0].maxy = 4000.0f;
|
||||
MapZoneArray[0].maxz = 500.0f;
|
||||
MapZoneArray[0].level = LEVEL_NONE;
|
||||
MapZoneArray[0].level = LEVEL_GENERIC;
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -577,7 +577,7 @@ CTheZones::FindZoneForPoint(const CVector &pos)
|
|||
return LEVEL_COMMERCIAL;
|
||||
if(PointLiesWithinZone(&pos, GetZone(FindZoneByLabelAndReturnIndex("SUB_ZON"))))
|
||||
return LEVEL_SUBURBAN;
|
||||
return LEVEL_NONE;
|
||||
return LEVEL_GENERIC;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue